Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001166/0.001166, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001837/0.003003, 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.001023/0.001023, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002922/0.003946, 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 1.104/1.104, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.207, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.629/2.629, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.283/2.912, allocations: 145.9 MB / 0.817 GB, free: 4.215 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.298e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001699/0.001722, allocations: 0.8596 MB / 0.8192 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.001822, allocations: 51.72 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.001863, allocations: 4 kB / 0.8192 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.001897, allocations: 11.86 kB / 0.8192 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.001949, allocations: 3.938 kB / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.604e-05/0.001985, allocations: 15.98 kB / 0.8192 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.002081, allocations: 71.77 kB / 0.8193 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.002185, allocations: 35.92 kB / 0.8193 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.00228, allocations: 55.75 kB / 0.8194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.002321, allocations: 11.98 kB / 0.8194 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.002342, allocations: 11.94 kB / 0.8194 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.002349, allocations: 4 kB / 0.8194 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.002367, allocations: 11.94 kB / 0.8194 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.002391, allocations: 8 kB / 0.8194 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.002497, allocations: 39.73 kB / 0.8195 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.764e-05/0.002525, allocations: 0 / 0.8195 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.744e-06/0.002527, allocations: 0 / 0.8195 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.002542, allocations: 4 kB / 0.8195 GB, free: 1.688 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.0003907/0.002933, allocations: 296.3 kB / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.002971, allocations: 8.625 kB / 0.8198 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.003003, allocations: 12.94 kB / 0.8198 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.003143, allocations: 133.6 kB / 0.8199 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.003154, allocations: 8.281 kB / 0.8199 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.003165, allocations: 8.375 kB / 0.8199 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.003268, allocations: 79.86 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.003275, allocations: 192 / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.003284, allocations: 8.375 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.003289, allocations: 4.375 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.003319, allocations: 15.94 kB / 0.82 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.003689, allocations: 0.5049 MB / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.725e-05/0.003757, allocations: 177.2 kB / 0.8207 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.003779, allocations: 80.14 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.003799, allocations: 75.28 kB / 0.8208 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.003833, allocations: 113.8 kB / 0.8209 GB, free: 68 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.003834, allocations: 0 / 0.8209 GB, free: 68 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.622e-05/0.003891, allocations: 29.7 kB / 0.821 GB, free: 32 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.00396, allocations: 138.6 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.822e-05/0.004059, allocations: 145.5 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.004065, allocations: 25.7 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.004118, allocations: 123.8 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.004125, allocations: 4 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.004153, allocations: 25.66 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.00423, allocations: 322.8 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-06/0.004239, allocations: 8 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.004268, allocations: 50.86 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.004327, allocations: 78.77 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.00433, allocations: 0 / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001023/0.004432, allocations: 77.7 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.004445, allocations: 8.031 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.004452, allocations: 4 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.004461, allocations: 0 / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.004506, allocations: 12 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.004509, allocations: 4 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.004535, allocations: 11.88 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.00454, allocations: 4 kB / 0.822 GB, free: 14.91 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 7.048e-05/0.00461, allocations: 197 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.004646, allocations: 101 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.004689, allocations: 116.8 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/0.00473, allocations: 188.2 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003134/0.005043, allocations: 176.3 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/0.005084, allocations: 184.2 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.005234, allocations: 337.3 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/0.005259, allocations: 104.9 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.005281, allocations: 101 kB / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.005324, allocations: 112.9 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-05/0.005371, allocations: 184.2 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.005414, allocations: 176.3 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.973e-05/0.005453, allocations: 184.2 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.34e-05/0.005497, allocations: 188.2 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.99e-05/0.005597, allocations: 307.7 kB / 0.8245 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.005644, allocations: 184.2 kB / 0.8247 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.005691, allocations: 108.9 kB / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.005735, allocations: 176.3 kB / 0.825 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.00576, allocations: 108.9 kB / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.005797, allocations: 28.83 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.005797, allocations: 0 / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001463/0.005944, allocations: 11.95 kB / 0.8251 GB, free: 11.52 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 0.0001223/0.006066, allocations: 155.7 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.013e-05/0.006136, allocations: 32.78 kB / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.006141, allocations: 0 / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.006144, allocations: 4 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.006375, allocations: 463.6 kB / 0.8257 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.006644, allocations: 235 kB / 0.826 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.006682, allocations: 59.34 kB / 0.826 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.006723, allocations: 9.234 kB / 0.826 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.006755, allocations: 55.38 kB / 0.8261 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of SimCode: time 9.71e-07/0.006756, allocations: 0 / 0.8261 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.001975/0.008731, allocations: 344.4 kB / 0.8264 GB, free: 10.13 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.567806854844093]