Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002488/0.002488, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.003247/0.003247, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.427/3.427, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0.7656 kB / 0.8774 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.376e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001764/0.001787, allocations: 0.6583 MB / 0.8781 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003056, allocations: 0.8686 MB / 0.8789 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.003093, allocations: 0.7656 kB / 0.8789 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.003119, allocations: 4.531 kB / 0.8789 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.141e-05/0.0032, allocations: 6.078 kB / 0.8789 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.003361, allocations: 27.86 kB / 0.879 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.003451, allocations: 39.91 kB / 0.879 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.003553, allocations: 16.62 kB / 0.879 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.003647, allocations: 21.39 kB / 0.879 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.003709, allocations: 19.92 kB / 0.879 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.003732, allocations: 4 kB / 0.8791 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.003746, allocations: 4 kB / 0.8791 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.003771, allocations: 19.91 kB / 0.8791 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.003805, allocations: 15.92 kB / 0.8791 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.003919, allocations: 47.86 kB / 0.8791 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003921, allocations: 0 / 0.8791 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.056e-06/0.003924, allocations: 3.984 kB / 0.8791 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003927, allocations: 0 / 0.8791 GB, free: 4.812 MB / 0.8386 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.0005736/0.004501, allocations: 368.2 kB / 0.8795 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.004535, allocations: 8.031 kB / 0.8795 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.004589, allocations: 16.88 kB / 0.8795 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.004731, allocations: 116.5 kB / 0.8796 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.004747, allocations: 1.281 kB / 0.8796 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.004765, allocations: 12.31 kB / 0.8796 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.004948, allocations: 63.23 kB / 0.8797 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004957, allocations: 192 / 0.8797 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.004968, allocations: 384 / 0.8797 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.004972, allocations: 1.438 kB / 0.8797 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.005132, allocations: 43.91 kB / 0.8797 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.005722, allocations: 276.9 kB / 0.88 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.00592, allocations: 70.97 kB / 0.8801 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.006007, allocations: 28.81 kB / 0.8801 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.00603, allocations: 4 kB / 0.8801 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.006068, allocations: 37.33 kB / 0.8801 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.006069, allocations: 0.6562 kB / 0.8801 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000371/0.00644, allocations: 94.95 kB / 0.8802 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.00649, allocations: 55.41 kB / 0.8803 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.006628, allocations: 169.9 kB / 0.8804 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.006651, allocations: 26.3 kB / 0.8805 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.006747, allocations: 134.9 kB / 0.8806 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.006777, allocations: 17.22 kB / 0.8806 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.006828, allocations: 23.36 kB / 0.8806 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002773/0.007105, allocations: 0.4884 MB / 0.8811 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.007185, allocations: 20.73 kB / 0.8811 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.007249, allocations: 15.98 kB / 0.8812 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.007391, allocations: 49.62 kB / 0.8812 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007393, allocations: 0 / 0.8812 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001896/0.007582, allocations: 73.67 kB / 0.8813 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.007598, allocations: 8.469 kB / 0.8813 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.007602, allocations: 5.125 kB / 0.8813 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.007617, allocations: 0 / 0.8813 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.007726, allocations: 11.98 kB / 0.8813 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.007733, allocations: 3.469 kB / 0.8813 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.007787, allocations: 7.984 kB / 0.8813 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.007797, allocations: 0 / 0.8813 GB, free: 2.402 MB / 0.8386 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 0.0001342/0.007931, allocations: 160.6 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.007964, allocations: 15.83 kB / 0.8815 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.007991, allocations: 4 kB / 0.8815 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007992, allocations: 0 / 0.8815 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.007997, allocations: 0 / 0.8815 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008, allocations: 0 / 0.8815 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.008179, allocations: 129.5 kB / 0.8816 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00818, allocations: 256 / 0.8816 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.008257, allocations: 16.58 kB / 0.8816 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.008259, allocations: 0 / 0.8816 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.008271, allocations: 5.25 kB / 0.8816 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008272, allocations: 0 / 0.8816 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008273, allocations: 0 / 0.8816 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.008576, allocations: 231.8 kB / 0.8818 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.008587, allocations: 3.953 kB / 0.8818 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.008608, allocations: 11.94 kB / 0.8819 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.008681, allocations: 0 / 0.8819 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.008744, allocations: 15.97 kB / 0.8819 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.00875, allocations: 0 / 0.8819 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.341e-05/0.008833, allocations: 131.2 kB / 0.882 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.008833, allocations: 0 / 0.882 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002267/0.00906, allocations: 4 kB / 0.882 GB, free: 1.625 MB / 0.8386 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.000122/0.009182, allocations: 103.2 kB / 0.8821 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.009391, allocations: 55.59 kB / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009392, allocations: 0 / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.436e-05/0.009486, allocations: 31.67 kB / 0.8822 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.009729, allocations: 10.34 kB / 0.8822 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.01011, allocations: 138.3 kB / 0.8823 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.569e-05/0.01019, allocations: 67.2 kB / 0.8824 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.01023, allocations: 8 kB / 0.8824 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.01028, allocations: 16.5 kB / 0.8824 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.01028, allocations: 0 / 0.8824 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of Templates: time 0.00424/0.01452, allocations: 0.9635 MB / 0.8834 GB, free: 192 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.686203170916997]