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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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.00223/0.00223, allocations: 63.89 kB / 1.059 GB, free: 384 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3685, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002704/0.3712, allocations: 0.8393 MB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.3713, allocations: 43.78 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.3714, allocations: 0 / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.3714, allocations: 3.938 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3715, allocations: 7.875 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.814e-05/0.3716, allocations: 23.97 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3718, allocations: 67.78 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.372, allocations: 35.97 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.3721, allocations: 31.84 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.3722, allocations: 27.8 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.3722, allocations: 4 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.3722, allocations: 8 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.3722, allocations: 15.92 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.3723, allocations: 31.81 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.3724, allocations: 83.5 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3724, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3724, allocations: 4 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3725, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 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.0006645/0.3731, allocations: 379.1 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.3732, allocations: 8.031 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.3732, allocations: 12.84 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3736, allocations: 196.2 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3736, allocations: 384 / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3736, allocations: 12.38 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3738, allocations: 93.83 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3738, allocations: 4.125 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3738, allocations: 3.938 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3738, allocations: 7.938 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.54e-05/0.3739, allocations: 39.92 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.3746, allocations: 440.7 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.3746, allocations: 41.25 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.3747, allocations: 17.77 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.3747, allocations: 0 / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3747, allocations: 38.56 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3747, allocations: 4 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002008/0.3749, allocations: 57.52 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.375, allocations: 77.11 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3752, allocations: 159.7 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3752, allocations: 25.7 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.3753, allocations: 104.1 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.3753, allocations: 11.89 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3753, allocations: 21.97 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3755, allocations: 318.8 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.3755, allocations: 4 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.3755, allocations: 21.66 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.037e-05/0.3755, allocations: 21.72 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3755, allocations: 0 / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.681e-05/0.3756, allocations: 73.53 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3756, allocations: 4 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3756, allocations: 3.938 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3757, allocations: 4 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.3757, allocations: 4 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3757, allocations: 0 / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.3758, allocations: 4 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.3758, allocations: 0 / 1.219 GB, free: 11.68 MB / 0.9669 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.684e-05/0.3759, allocations: 121.9 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.3759, allocations: 7.953 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.3759, allocations: 15.81 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3759, allocations: 0 / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3759, allocations: 0 / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3759, allocations: 3.938 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.3764, allocations: 470.7 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3764, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.3764, allocations: 12.05 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3764, allocations: 3.938 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3764, allocations: 4 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3764, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3764, allocations: 3.938 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.838e-05/0.3765, allocations: 77.89 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.3766, allocations: 93.08 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3766, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.3766, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.3766, allocations: 8 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.3766, allocations: 4 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3767, allocations: 121.5 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3767, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001876/0.3769, allocations: 11.94 kB / 1.22 GB, free: 10.63 MB / 0.9669 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.000157/0.3771, allocations: 107.2 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.3772, allocations: 16 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3772, allocations: 4 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.3772, allocations: 7.938 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.3774, allocations: 7.938 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.3777, allocations: 170.6 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3781, allocations: 0.697 MB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.3781, allocations: 8.422 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.3782, allocations: 11.44 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3782, allocations: 0 / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of Templates: time 0.002852/0.381, allocations: 465.6 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 8.562095397152007]