Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001444/0.001444, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001447/0.001447, allocations: 161 kB / 23.82 MB, free: 0.75 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.9487/0.9487, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.905/1.905, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.167e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001571/0.001603, allocations: 0.8221 MB / 0.8123 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001144/0.001717, allocations: 44.28 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.001759, allocations: 2.406 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.001795, allocations: 7.875 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.665e-05/0.001872, allocations: 11.86 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.002297, allocations: 19.98 kB / 0.8124 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.002413, allocations: 59.84 kB / 0.8125 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.002546, allocations: 31.91 kB / 0.8125 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.002619, allocations: 37.34 kB / 0.8126 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.002669, allocations: 19.91 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.002687, allocations: 4 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.002695, allocations: 8 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.002713, allocations: 17.39 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.002741, allocations: 19.92 kB / 0.8126 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.087e-05/0.002832, allocations: 51.7 kB / 0.8127 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.002835, allocations: 0 / 0.8127 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.292e-06/0.002836, allocations: 1.594 kB / 0.8127 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.002841, allocations: 0 / 0.8127 GB, free: 0.5859 MB / 0.7605 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.0003763/0.003217, allocations: 404.3 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.003257, allocations: 9.031 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.003298, allocations: 20.88 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.0035, allocations: 136.5 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.003511, allocations: 8.906 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.003525, allocations: 4.906 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.003648, allocations: 92.11 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.003658, allocations: 1.25 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.003671, allocations: 8.375 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.003679, allocations: 1 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.003728, allocations: 35.8 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.004149, allocations: 455 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.227e-05/0.004201, allocations: 55.53 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.004232, allocations: 27.48 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.00424, allocations: 5.156 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.004263, allocations: 37.39 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.004265, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001906/0.004455, allocations: 46.53 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.00449, allocations: 82.02 kB / 0.814 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.004591, allocations: 189.8 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.004606, allocations: 26.73 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.004665, allocations: 154.7 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.004671, allocations: 3.953 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.004701, allocations: 28.64 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.004801, allocations: 0.4884 MB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.004812, allocations: 3.938 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.004834, allocations: 28.14 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.004869, allocations: 28.31 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004872, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.769e-05/0.004929, allocations: 51.14 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.004944, allocations: 7.984 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.004949, allocations: 4 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.004963, allocations: 1.25 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.00502, allocations: 4 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.005026, allocations: 3.938 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.005043, allocations: 11.89 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005047, allocations: 3.094 kB / 0.815 GB, free: 13.92 MB / 0.7761 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 6.005e-05/0.005107, allocations: 156.6 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.005131, allocations: 4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.005157, allocations: 11.45 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005158, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005162, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.005165, allocations: 3.938 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.005606, allocations: 0.5504 MB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.005608, allocations: 1.938 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.005625, allocations: 4 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.005627, allocations: 3.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.005638, allocations: 3.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.005639, allocations: 0 / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.00564, allocations: 0.8438 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.967e-05/0.00571, allocations: 81.06 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.005735, allocations: 15.94 kB / 0.8158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.005746, allocations: 3.938 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-06/0.005755, allocations: 4.656 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.005771, allocations: 2.531 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.005773, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.005831, allocations: 139.2 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005831, allocations: 0 / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001281/0.005959, allocations: 11.95 kB / 0.816 GB, free: 12.85 MB / 0.7761 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.0001045/0.006063, allocations: 103.2 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.006155, allocations: 22.59 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.006157, allocations: 3.938 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.006167, allocations: 15.62 kB / 0.8161 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.006293, allocations: 8 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.006578, allocations: 172.3 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.006613, allocations: 63.34 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.00664, allocations: 1.125 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.006668, allocations: 12.5 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.006669, allocations: 1.031 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.002034/0.008704, allocations: 347.1 kB / 0.8167 GB, free: 12.06 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.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.321129641029984]