Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001502/0.001502, 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.001663/0.001663, 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.481/1.481, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.823/2.823, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.95e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002146/0.002175, allocations: 0.7966 MB / 0.8116 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.002338, allocations: 45.28 kB / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.002395, allocations: 0 / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.002441, allocations: 11.86 kB / 0.8117 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.002532, allocations: 8.656 kB / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.992e-05/0.002592, allocations: 19.98 kB / 0.8117 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.002724, allocations: 60.88 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.002858, allocations: 35.89 kB / 0.8118 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.002954, allocations: 35.92 kB / 0.8118 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.003015, allocations: 21.27 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.003038, allocations: 4 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.003048, allocations: 8 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.003078, allocations: 21.77 kB / 0.8119 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.003113, allocations: 11.94 kB / 0.8119 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.003269, allocations: 75.69 kB / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.003274, allocations: 4 kB / 0.8119 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003274, allocations: 0 / 0.8119 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003279, allocations: 1.594 kB / 0.8119 GB, free: 0.9727 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.0004909/0.003769, allocations: 302 kB / 0.8122 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.003807, allocations: 8.031 kB / 0.8122 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.00386, allocations: 12.89 kB / 0.8123 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.004094, allocations: 143.3 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.004108, allocations: 8.312 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.004125, allocations: 12.31 kB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.004321, allocations: 94.52 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.00433, allocations: 0.75 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.004343, allocations: 5.688 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.00435, allocations: 4.375 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.004447, allocations: 43.86 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.005035, allocations: 349.6 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.005112, allocations: 37.19 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.005157, allocations: 23.22 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.005167, allocations: 3.984 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.005207, allocations: 34.55 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.005208, allocations: 1.594 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.0054, allocations: 57.59 kB / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.005467, allocations: 77.11 kB / 0.8131 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.005844, allocations: 133.4 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.005867, allocations: 25.7 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.00596, allocations: 111.9 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.005971, allocations: 7.938 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.006009, allocations: 18.22 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.006204, allocations: 319.4 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.006226, allocations: 9.938 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.006257, allocations: 17.66 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.006309, allocations: 25.72 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.00631, allocations: 0 / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.006412, allocations: 59.84 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.006429, allocations: 4 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.006434, allocations: 0 / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.006453, allocations: 0 / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.006516, allocations: 8 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.006523, allocations: 4.438 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.00656, allocations: 16.59 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.006568, allocations: 4 kB / 0.8138 GB, free: 14.84 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 0.0001018/0.006669, allocations: 114.4 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.00671, allocations: 5.062 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.006727, allocations: 3.469 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006728, allocations: 3.938 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.006734, allocations: 4.625 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.006741, allocations: 8.906 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.007206, allocations: 410.4 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.007213, allocations: 4.844 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.007236, allocations: 3.938 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.007241, allocations: 5.594 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.00725, allocations: 3.938 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007251, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007252, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.007356, allocations: 70.92 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.007382, allocations: 11.95 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.0074, allocations: 10.05 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.00742, allocations: 4 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.007432, allocations: 0 / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.007434, allocations: 0 / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.028e-05/0.007525, allocations: 107.2 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007525, allocations: 0 / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002/0.007725, allocations: 10.17 kB / 0.8146 GB, free: 14.01 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.0001242/0.007849, allocations: 95.25 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.775e-05/0.007947, allocations: 19.98 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007948, allocations: 1.125 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.007963, allocations: 7.938 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.008118, allocations: 8 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.008486, allocations: 163.2 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.064e-05/0.008576, allocations: 80.11 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.008604, allocations: 5.688 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.008639, allocations: 12.5 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.00864, allocations: 0.5 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.002787/0.01143, allocations: 355 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 7.7913107390049845]