Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001901/0.001901, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.00321/0.00321, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.567/1.567, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.69 kB / 1.11 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 168.8 MB / 1.274 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00213/0.3998, allocations: 0.8257 MB / 1.275 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.3999, allocations: 43.78 kB / 1.275 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.3999, allocations: 4 kB / 1.275 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.4, allocations: 7.875 kB / 1.275 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.4001, allocations: 7.922 kB / 1.275 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.079e-05/0.4001, allocations: 19.98 kB / 1.275 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.4003, allocations: 63.78 kB / 1.275 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.4004, allocations: 35.92 kB / 1.275 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.4005, allocations: 27.86 kB / 1.275 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.4005, allocations: 27.86 kB / 1.275 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.4006, allocations: 8 kB / 1.275 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.4006, allocations: 8 kB / 1.275 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.4006, allocations: 11.92 kB / 1.275 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.4007, allocations: 39.73 kB / 1.275 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.4008, allocations: 79.58 kB / 1.276 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4008, allocations: 3.938 kB / 1.276 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4008, allocations: 0 / 1.276 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4008, allocations: 0 / 1.276 GB, free: 9.711 MB / 0.9825 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.0004463/0.4013, allocations: 298 kB / 1.276 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.4013, allocations: 12.03 kB / 1.276 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.4013, allocations: 16.83 kB / 1.276 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.4016, allocations: 134.4 kB / 1.276 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4016, allocations: 8.375 kB / 1.276 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4016, allocations: 4.375 kB / 1.276 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4017, allocations: 89.98 kB / 1.276 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4018, allocations: 192 / 1.276 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4018, allocations: 7.938 kB / 1.276 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4018, allocations: 3.938 kB / 1.276 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.4019, allocations: 43.92 kB / 1.276 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.4024, allocations: 403.7 kB / 1.277 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.4025, allocations: 41.34 kB / 1.277 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.4025, allocations: 21.78 kB / 1.277 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.4026, allocations: 0 / 1.277 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4026, allocations: 30.56 kB / 1.277 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4026, allocations: 4 kB / 1.277 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001705/0.4028, allocations: 57.52 kB / 1.277 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.4028, allocations: 77.11 kB / 1.277 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.403, allocations: 163.5 kB / 1.277 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.403, allocations: 25.7 kB / 1.277 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.4031, allocations: 108 kB / 1.277 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.4031, allocations: 11.95 kB / 1.277 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.4031, allocations: 13.67 kB / 1.277 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4033, allocations: 322.8 kB / 1.277 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.4033, allocations: 8 kB / 1.277 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.4033, allocations: 21.7 kB / 1.277 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.4034, allocations: 25.72 kB / 1.277 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4034, allocations: 0 / 1.277 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.141e-05/0.4035, allocations: 65.52 kB / 1.277 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4035, allocations: 4 kB / 1.277 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4035, allocations: 3.938 kB / 1.277 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4035, allocations: 0 / 1.277 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.4036, allocations: 12.06 kB / 1.277 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4036, allocations: 3.984 kB / 1.277 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.4036, allocations: 4 kB / 1.277 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.4036, allocations: 0 / 1.277 GB, free: 7.484 MB / 0.9825 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.397e-05/0.4037, allocations: 113.8 kB / 1.278 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.4038, allocations: 11.89 kB / 1.278 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.4038, allocations: 15.75 kB / 1.278 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4038, allocations: 0 / 1.278 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4038, allocations: 0 / 1.278 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4038, allocations: 4 kB / 1.278 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.4043, allocations: 453.7 kB / 1.278 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4043, allocations: 0 / 1.278 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.4043, allocations: 8 kB / 1.278 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4043, allocations: 0 / 1.278 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.4043, allocations: 0 / 1.278 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4043, allocations: 4 kB / 1.278 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4043, allocations: 3.938 kB / 1.278 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9e-05/0.4044, allocations: 81.94 kB / 1.278 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.4044, allocations: 11.95 kB / 1.278 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.4044, allocations: 0 / 1.278 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.4044, allocations: 0 / 1.278 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.4045, allocations: 7.938 kB / 1.278 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.4045, allocations: 0 / 1.278 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001019/0.4046, allocations: 125.1 kB / 1.278 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4046, allocations: 0 / 1.278 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001928/0.4048, allocations: 8 kB / 1.278 GB, free: 6.562 MB / 0.9825 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.0001154/0.4049, allocations: 99.23 kB / 1.278 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.868e-05/0.405, allocations: 16 kB / 1.278 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.405, allocations: 0 / 1.278 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/0.405, allocations: 8.125 kB / 1.278 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.4051, allocations: 16 kB / 1.278 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.4055, allocations: 170.6 kB / 1.279 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.4058, allocations: 0.6962 MB / 1.279 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.4059, allocations: 8.422 kB / 1.279 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.4059, allocations: 11.44 kB / 1.279 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.4059, allocations: 4 kB / 1.279 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of Templates: time 0.003246/0.4091, allocations: 477.7 kB / 1.28 GB, free: 5.004 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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: 9.540869375690818]