Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001489/0.001489, allocations: 88.72 kB / 19.44 MB, free: 356 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.00168/0.00168, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.34/3.34, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.666e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001977/0.002004, allocations: 0.8036 MB / 0.8784 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.00213, allocations: 44.84 kB / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.002177, allocations: 0 / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.002215, allocations: 7.922 kB / 0.8784 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.259e-05/0.002298, allocations: 17.03 kB / 0.8784 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.027e-05/0.002348, allocations: 11.98 kB / 0.8785 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.002468, allocations: 63.78 kB / 0.8785 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.002606, allocations: 40.61 kB / 0.8786 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.002689, allocations: 31.92 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.002764, allocations: 25.55 kB / 0.8786 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.002785, allocations: 4 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.002798, allocations: 8 kB / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.002816, allocations: 7.938 kB / 0.8786 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.002862, allocations: 28.41 kB / 0.8787 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.002998, allocations: 71.75 kB / 0.8787 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.003, allocations: 5.656 kB / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003, allocations: 0 / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003004, allocations: 3.938 kB / 0.8787 GB, free: 5.352 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004622/0.003466, allocations: 302 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.003503, allocations: 9.375 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.003553, allocations: 16.89 kB / 0.879 GB, free: 5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.003775, allocations: 137.6 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.003791, allocations: 9.969 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.003806, allocations: 4.375 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.003981, allocations: 98.39 kB / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.003989, allocations: 192 / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.004004, allocations: 6.375 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004011, allocations: 4.375 kB / 0.8793 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.495e-05/0.004096, allocations: 35.86 kB / 0.8793 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007918/0.004888, allocations: 360.4 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.177e-05/0.004959, allocations: 37.16 kB / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.005005, allocations: 28.41 kB / 0.8797 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.005014, allocations: 3.984 kB / 0.8797 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.005046, allocations: 30.56 kB / 0.8798 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005047, allocations: 0 / 0.8798 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/0.005223, allocations: 53.81 kB / 0.8798 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.005287, allocations: 81.11 kB / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.005432, allocations: 133.8 kB / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.005452, allocations: 25.7 kB / 0.88 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.005542, allocations: 107.9 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.005553, allocations: 7.953 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.005597, allocations: 13.72 kB / 0.8802 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.005778, allocations: 322.8 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.005796, allocations: 4 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.005827, allocations: 17.72 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.005878, allocations: 29.72 kB / 0.8805 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.005879, allocations: 0 / 0.8805 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.005982, allocations: 65.58 kB / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.005995, allocations: 4 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006, allocations: 0 / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.006015, allocations: 3.938 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.006077, allocations: 8 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.006084, allocations: 3.938 kB / 0.8806 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.006109, allocations: 3.938 kB / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.006117, allocations: 12.05 kB / 0.8806 GB, free: 3.207 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.603e-05/0.006213, allocations: 113.8 kB / 0.8807 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.006253, allocations: 3.953 kB / 0.8807 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.006278, allocations: 11.47 kB / 0.8807 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.006279, allocations: 0 / 0.8807 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.006286, allocations: 4 kB / 0.8808 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.006292, allocations: 3.938 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.00674, allocations: 410.5 kB / 0.8811 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006741, allocations: 0 / 0.8811 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.006759, allocations: 8.062 kB / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006761, allocations: 0 / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.006772, allocations: 7.938 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.006773, allocations: 0 / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.006774, allocations: 3.938 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.006876, allocations: 73.94 kB / 0.8812 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.006899, allocations: 7.953 kB / 0.8812 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.006915, allocations: 7.922 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/0.006939, allocations: 8 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.006951, allocations: 0 / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.006952, allocations: 4.031 kB / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.498e-05/0.007037, allocations: 102.3 kB / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007038, allocations: 0 / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001928/0.00723, allocations: 8 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001171/0.007347, allocations: 99.25 kB / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.528e-05/0.007433, allocations: 19.92 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.007434, allocations: 0 / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.007446, allocations: 4 kB / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.007596, allocations: 12.19 kB / 0.8815 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.007935, allocations: 166.9 kB / 0.8817 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.008022, allocations: 83.86 kB / 0.8817 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.008048, allocations: 4 kB / 0.8817 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.008075, allocations: 8.5 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.008075, allocations: 3.938 kB / 0.8818 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.002768/0.01084, allocations: 363.6 kB / 0.8821 GB, free: 1.559 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.354213946964592]