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.001483/0.001483, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001876/0.001876, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.998/2.998, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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.764e-06/1.764e-06, allocations: 3.938 kB / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.248e-05, allocations: 3.312 kB / 0.8108 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002265/0.002297, allocations: 0.7854 MB / 0.8116 GB, free: 188 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.002449, allocations: 43.78 kB / 0.8116 GB, free: 144 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.002507, allocations: 0.9062 kB / 0.8116 GB, free: 144 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.002551, allocations: 7.875 kB / 0.8116 GB, free: 136 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.00264, allocations: 12.59 kB / 0.8117 GB, free: 124 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.838e-05/0.002698, allocations: 15.97 kB / 0.8117 GB, free: 108 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.002853, allocations: 68.56 kB / 0.8117 GB, free: 40 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.002987, allocations: 35.92 kB / 0.8118 GB, free: 4 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.003101, allocations: 36.81 kB / 0.8118 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.003164, allocations: 19.91 kB / 0.8118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.003187, allocations: 5.688 kB / 0.8118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.003202, allocations: 8 kB / 0.8118 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.003225, allocations: 11.92 kB / 0.8118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.00327, allocations: 23.92 kB / 0.8119 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.003418, allocations: 79.62 kB / 0.8119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00342, allocations: 1.531 kB / 0.8119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003421, allocations: 0 / 0.8119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003425, allocations: 0 / 0.8119 GB, free: 15.82 MB / 0.7292 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.0005215/0.003946, allocations: 303.1 kB / 0.8122 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.00399, allocations: 8.031 kB / 0.8122 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.00405, allocations: 20.84 kB / 0.8123 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.004522, allocations: 139 kB / 0.8124 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.004542, allocations: 8.359 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.004558, allocations: 8.375 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.004754, allocations: 91.95 kB / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.004764, allocations: 2.469 kB / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.004776, allocations: 384 / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.004784, allocations: 4.375 kB / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.704e-05/0.004881, allocations: 39.86 kB / 0.8125 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.005475, allocations: 352.4 kB / 0.8129 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.005554, allocations: 41.81 kB / 0.8129 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.005597, allocations: 18.55 kB / 0.8129 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.005608, allocations: 8.5 kB / 0.8129 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.005656, allocations: 32.16 kB / 0.813 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.005657, allocations: 0 / 0.813 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002096/0.005867, allocations: 49.59 kB / 0.813 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.005934, allocations: 81.73 kB / 0.8131 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.006094, allocations: 135.9 kB / 0.8132 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.006115, allocations: 30.42 kB / 0.8133 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.006213, allocations: 111.9 kB / 0.8134 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.006221, allocations: 4.547 kB / 0.8134 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.006272, allocations: 22.3 kB / 0.8134 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.006467, allocations: 318.8 kB / 0.8137 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.006488, allocations: 4.688 kB / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.006523, allocations: 21.7 kB / 0.8137 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6e-05/0.006583, allocations: 23.09 kB / 0.8137 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006584, allocations: 0 / 0.8137 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.006697, allocations: 59.39 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.006713, allocations: 4 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.006722, allocations: 3.984 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.006744, allocations: 1.219 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.006814, allocations: 8 kB / 0.8138 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.006822, allocations: 3.938 kB / 0.8138 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.006853, allocations: 3.953 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.006862, allocations: 4.969 kB / 0.8138 GB, free: 13.7 MB / 0.7292 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 0.0001172/0.00698, allocations: 120 kB / 0.8139 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.007027, allocations: 7.938 kB / 0.8139 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.007058, allocations: 15.45 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.00706, allocations: 0 / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.007064, allocations: 0 / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.00707, allocations: 3.938 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.007551, allocations: 417.6 kB / 0.8144 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.007556, allocations: 3.984 kB / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.00758, allocations: 4 kB / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007582, allocations: 0 / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.007596, allocations: 7.938 kB / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.0076, allocations: 3.984 kB / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007601, allocations: 0 / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.007706, allocations: 66 kB / 0.8144 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.007733, allocations: 16.97 kB / 0.8145 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.007749, allocations: 3.938 kB / 0.8145 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.00777, allocations: 4.5 kB / 0.8145 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.007783, allocations: 0 / 0.8145 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.007785, allocations: 0.5625 kB / 0.8145 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.002e-05/0.007875, allocations: 103.8 kB / 0.8146 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007875, allocations: 0 / 0.8146 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002042/0.008079, allocations: 12.95 kB / 0.8146 GB, free: 12.86 MB / 0.7292 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.0001355/0.008215, allocations: 100.2 kB / 0.8147 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.061e-05/0.008305, allocations: 19.94 kB / 0.8147 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008307, allocations: 0.8125 kB / 0.8147 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.008322, allocations: 8.938 kB / 0.8147 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.008487, allocations: 3.875 kB / 0.8147 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.00887, allocations: 175.5 kB / 0.8149 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.852e-05/0.008958, allocations: 77.33 kB / 0.815 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.008988, allocations: 5.031 kB / 0.815 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.009019, allocations: 8.5 kB / 0.815 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of SimCode: time 6.32e-07/0.00902, allocations: 0 / 0.815 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.002954/0.01197, allocations: 351.1 kB / 0.8153 GB, free: 12.09 MB / 0.7292 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 7.945463552954607]