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.001103/0.001103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002654, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001103/0.001103, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002457, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.961/0.961, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08922/1.05, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.43/2.43, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2807/2.711, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.393e-06/1.393e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.096e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00118/0.001191, allocations: 0.8617 MB / 0.8191 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 8.015e-05/0.001271, allocations: 47.72 kB / 0.8192 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.001305, allocations: 0 / 0.8192 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.001332, allocations: 11.86 kB / 0.8192 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.001364, allocations: 3.938 kB / 0.8192 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.012e-05/0.001394, allocations: 27.92 kB / 0.8192 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.001469, allocations: 63.78 kB / 0.8193 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.001553, allocations: 43.91 kB / 0.8193 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.001618, allocations: 35.91 kB / 0.8194 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.001653, allocations: 19.89 kB / 0.8194 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.001671, allocations: 8 kB / 0.8194 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-06/0.001678, allocations: 4 kB / 0.8194 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.001692, allocations: 11.94 kB / 0.8194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.001713, allocations: 15.94 kB / 0.8194 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.998e-05/0.001783, allocations: 39.73 kB / 0.8195 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.001795, allocations: 7.938 kB / 0.8195 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.11e-07/0.001796, allocations: 0 / 0.8195 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.001808, allocations: 4 kB / 0.8195 GB, free: 1.711 MB / 0.7917 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.0003118/0.00212, allocations: 288.3 kB / 0.8198 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.002155, allocations: 8.625 kB / 0.8198 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.002182, allocations: 12.92 kB / 0.8198 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.002299, allocations: 129.7 kB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.00231, allocations: 12.28 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.00232, allocations: 8.375 kB / 0.8199 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.532e-05/0.002406, allocations: 83.86 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.002412, allocations: 4.188 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.002418, allocations: 4.375 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.002423, allocations: 384 / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.00245, allocations: 19.94 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.002771, allocations: 0.5089 MB / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.002822, allocations: 165.1 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.002843, allocations: 80.14 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.00286, allocations: 79.28 kB / 0.8208 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.002909, allocations: 105.8 kB / 0.8209 GB, free: 108 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.00291, allocations: 0 / 0.8209 GB, free: 108 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 4.289e-05/0.002953, allocations: 37.64 kB / 0.821 GB, free: 64 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.003002, allocations: 126.7 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.003081, allocations: 154 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.003087, allocations: 25.7 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.003138, allocations: 127.7 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.331e-06/0.003143, allocations: 4 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.003167, allocations: 21.66 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.003237, allocations: 330.8 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-06/0.003243, allocations: 4 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.003306, allocations: 50.86 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.003354, allocations: 70.78 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.003356, allocations: 0 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.05e-05/0.003436, allocations: 81.52 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.003448, allocations: 4 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.003454, allocations: 7.984 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-06/0.003462, allocations: 0 / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.003507, allocations: 16 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.003512, allocations: 3.938 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.003534, allocations: 11.88 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.003539, allocations: 8 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.875e-05/0.003598, allocations: 185.3 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.003632, allocations: 113 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.003663, allocations: 116.8 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/0.0037, allocations: 180.3 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.805e-05/0.003738, allocations: 184.2 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.568e-05/0.003773, allocations: 176.3 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.003897, allocations: 341.3 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/0.00392, allocations: 101 kB / 0.8233 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.003946, allocations: 101 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.004083, allocations: 124.8 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.771e-05/0.00412, allocations: 180.3 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.004157, allocations: 176.3 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-05/0.004193, allocations: 184.2 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-05/0.004228, allocations: 180.3 kB / 0.8242 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.332e-05/0.004312, allocations: 311.7 kB / 0.8245 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.004357, allocations: 188.2 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.267e-05/0.004399, allocations: 101 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.00444, allocations: 184.2 kB / 0.825 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.004462, allocations: 104.9 kB / 0.8251 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.004485, allocations: 28.77 kB / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004486, allocations: 0 / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001228/0.004608, allocations: 11.95 kB / 0.8251 GB, free: 11.55 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 7.472e-05/0.004683, allocations: 163.7 kB / 0.8253 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.414e-05/0.004737, allocations: 24.78 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.004741, allocations: 0 / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.004743, allocations: 4 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.004919, allocations: 467.6 kB / 0.8257 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/0.005108, allocations: 224.4 kB / 0.8259 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.745e-05/0.005135, allocations: 59.86 kB / 0.826 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.005165, allocations: 8.719 kB / 0.826 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.005194, allocations: 55.38 kB / 0.8261 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.005195, allocations: 0 / 0.8261 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.001597/0.006792, allocations: 340.6 kB / 0.8264 GB, free: 10.17 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.156831003725529]