Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002467/0.002467, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.9 MB, free: 13.47 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 443.5 MB / 0.731 GB, free: 12.78 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 75.89 kB / 1.06 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8266, allocations: 160.7 MB / 1.217 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002254/0.8288, allocations: 0.8314 MB / 1.217 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.829, allocations: 44.53 kB / 1.217 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.829, allocations: 1.062 kB / 1.217 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.8291, allocations: 12.98 kB / 1.217 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-05/0.8291, allocations: 8.844 kB / 1.217 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.805e-05/0.8292, allocations: 19.14 kB / 1.217 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.8293, allocations: 67.17 kB / 1.218 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.8295, allocations: 34.17 kB / 1.218 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.8296, allocations: 28.31 kB / 1.218 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.8296, allocations: 28.25 kB / 1.218 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.8296, allocations: 6.531 kB / 1.218 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.8297, allocations: 6.156 kB / 1.218 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.8297, allocations: 14.16 kB / 1.218 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.8297, allocations: 38.27 kB / 1.218 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.8299, allocations: 72.06 kB / 1.218 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8299, allocations: 0 / 1.218 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8299, allocations: 0 / 1.218 GB, free: 3.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.8299, allocations: 1.156 kB / 1.218 GB, free: 3.066 MB / 0.92 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.0005369/0.8304, allocations: 394.1 kB / 1.218 GB, free: 2.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8305, allocations: 9.188 kB / 1.218 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.8305, allocations: 13.78 kB / 1.218 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.8308, allocations: 190.8 kB / 1.218 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.8308, allocations: 3.312 kB / 1.218 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.8308, allocations: 9.719 kB / 1.218 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.831, allocations: 92.78 kB / 1.218 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.831, allocations: 5.375 kB / 1.218 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.831, allocations: 3.938 kB / 1.218 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.831, allocations: 2.312 kB / 1.218 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.8311, allocations: 39.8 kB / 1.218 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.8317, allocations: 432.8 kB / 1.219 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.182e-05/0.8318, allocations: 48.75 kB / 1.219 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.8318, allocations: 19.33 kB / 1.219 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.8319, allocations: 1.406 kB / 1.219 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.8319, allocations: 35.97 kB / 1.219 GB, free: 1.762 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8319, allocations: 0 / 1.219 GB, free: 1.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001897/0.8321, allocations: 58.16 kB / 1.219 GB, free: 1.711 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.8321, allocations: 82.3 kB / 1.219 GB, free: 1.613 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.8323, allocations: 160.8 kB / 1.219 GB, free: 1.484 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.8323, allocations: 25.7 kB / 1.219 GB, free: 1.453 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.8324, allocations: 104.1 kB / 1.219 GB, free: 1.352 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/0.8324, allocations: 5.266 kB / 1.219 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.8324, allocations: 18.12 kB / 1.219 GB, free: 1.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8326, allocations: 321.2 kB / 1.22 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.8326, allocations: 11.34 kB / 1.22 GB, free: 1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.8326, allocations: 21.95 kB / 1.22 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.8327, allocations: 23.09 kB / 1.22 GB, free: 0.957 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8327, allocations: 0 / 1.22 GB, free: 0.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.8328, allocations: 63.33 kB / 1.22 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.8329, allocations: 8.984 kB / 1.22 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.8329, allocations: 13.16 kB / 1.22 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.8329, allocations: 3.938 kB / 1.22 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.8329, allocations: 5.906 kB / 1.22 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8329, allocations: 1.25 kB / 1.22 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.833, allocations: 6.25 kB / 1.22 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.833, allocations: 1.156 kB / 1.22 GB, free: 0.8828 MB / 0.92 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.432e-05/0.8331, allocations: 117.2 kB / 1.22 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.8331, allocations: 7.359 kB / 1.22 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.8332, allocations: 23.42 kB / 1.22 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8332, allocations: 1.094 kB / 1.22 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.8332, allocations: 0 / 1.22 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8332, allocations: 1.094 kB / 1.22 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.8336, allocations: 470.3 kB / 1.22 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8336, allocations: 0 / 1.22 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.8336, allocations: 3.25 kB / 1.22 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.8336, allocations: 1.312 kB / 1.22 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.8336, allocations: 5.469 kB / 1.22 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8336, allocations: 0 / 1.22 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8336, allocations: 5.297 kB / 1.22 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.757e-05/0.8337, allocations: 81.56 kB / 1.221 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.8338, allocations: 93.12 kB / 1.221 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.8338, allocations: 1.25 kB / 1.221 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.8338, allocations: 7.969 kB / 1.221 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.8338, allocations: 5.406 kB / 1.221 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.8338, allocations: 1.375 kB / 1.221 GB, free: 16 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001233/0.8339, allocations: 121.2 kB / 1.221 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8339, allocations: 0 / 1.221 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001855/0.8341, allocations: 7.438 kB / 1.221 GB, free: 15.92 MB / 0.9356 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.0001251/0.8343, allocations: 96.06 kB / 1.221 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.8344, allocations: 18.22 kB / 1.221 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8344, allocations: 0 / 1.221 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.8344, allocations: 12.33 kB / 1.221 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.8345, allocations: 15.09 kB / 1.221 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.8349, allocations: 191.6 kB / 1.221 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.8352, allocations: 0.6991 MB / 1.222 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.8353, allocations: 15.41 kB / 1.222 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8353, allocations: 0 / 1.222 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.002652/0.8379, allocations: 0.865 MB / 1.223 GB, free: 14.45 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches