Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008449/0.0008449, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000857/0.000857, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8723/0.8723, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.645/1.645, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.115e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001579/0.0016, allocations: 0.6545 MB / 0.9511 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007735/0.002374, allocations: 0.8509 MB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.002407, allocations: 0 / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.002435, allocations: 3.938 kB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.002502, allocations: 7.938 kB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.002643, allocations: 31.89 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.002713, allocations: 39.92 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.002812, allocations: 11.98 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.002884, allocations: 27.91 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.002936, allocations: 19.97 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.00296, allocations: 4 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.002968, allocations: 4 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.002987, allocations: 11.94 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.00301, allocations: 15.97 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.483e-05/0.003105, allocations: 55.73 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003108, allocations: 0 / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.603e-06/0.00311, allocations: 0 / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003114, allocations: 4 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003664/0.00348, allocations: 270.2 kB / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.003526, allocations: 16.02 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.003555, allocations: 34.75 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.003579, allocations: 4.938 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.003667, allocations: 117.7 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.003679, allocations: 384 / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.00369, allocations: 8.375 kB / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.003821, allocations: 62.22 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.003827, allocations: 4.188 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.003835, allocations: 384 / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.003841, allocations: 8.125 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.003951, allocations: 51.88 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.004257, allocations: 236 kB / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.004389, allocations: 62.53 kB / 0.953 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.004448, allocations: 40.8 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.004467, allocations: 4 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.004486, allocations: 34.56 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004487, allocations: 0 / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002516/0.004739, allocations: 109.6 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.004767, allocations: 51.41 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.004827, allocations: 117.8 kB / 0.9533 GB, free: 396 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.004836, allocations: 25.7 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.004872, allocations: 88.08 kB / 0.9535 GB, free: 272 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.004888, allocations: 15.91 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.004918, allocations: 17.7 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.005002, allocations: 318.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.005058, allocations: 27.91 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.005103, allocations: 19.98 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.961e-05/0.005203, allocations: 53.08 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005205, allocations: 4 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001325/0.005337, allocations: 89.58 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.005351, allocations: 8 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005355, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.005366, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.005447, allocations: 11.98 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.005451, allocations: 0 / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.005484, allocations: 15.88 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.005491, allocations: 4 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.005545, allocations: 113.8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.005561, allocations: 7.938 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.005582, allocations: 8 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.005584, allocations: 3.984 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.005588, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005591, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.005702, allocations: 140.8 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.005704, allocations: 3.938 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.005741, allocations: 15.92 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005742, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.00575, allocations: 8 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005751, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005752, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.005917, allocations: 183.4 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.005929, allocations: 11.92 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.005939, allocations: 3.938 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.005983, allocations: 4.25 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.006031, allocations: 11.98 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.006036, allocations: 11.98 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.006065, allocations: 83.28 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/0.006066, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001531/0.006219, allocations: 11.94 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003302/0.006549, allocations: 0.713 MB / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.006697, allocations: 55.88 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.006699, allocations: 8 kB / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.685e-05/0.006756, allocations: 31.97 kB / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.007, allocations: 0 / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.007963, allocations: 1.312 MB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.008009, allocations: 75.27 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.008041, allocations: 4 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.008088, allocations: 16.48 kB / 0.9568 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of SimCode: time 6.72e-07/0.008088, allocations: 4 kB / 0.9568 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.02314, allocations: 2.533 MB / 0.9592 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.7/6.723, allocations: 7.719 kB / 0.9593 GB, free: 10.25 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.588616204448044]