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.001959/0.001959, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.002448/0.002448, allocations: 211.5 kB / 23 MB, free: 4.969 MB / 14.72 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.358/3.358, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 64.84 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4372, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002402/0.4397, allocations: 0.7844 MB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001382/0.4398, allocations: 47.84 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.4399, allocations: 3.938 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.4399, allocations: 3.938 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.44, allocations: 11.88 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.977e-05/0.44, allocations: 19.97 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.4402, allocations: 59.84 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.4403, allocations: 35.92 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.4404, allocations: 31.97 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.4405, allocations: 23.86 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.4405, allocations: 11.94 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.4405, allocations: 8 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.4406, allocations: 15.98 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.4406, allocations: 23.81 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.4407, allocations: 83.5 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4407, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4408, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4408, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 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.0005163/0.4413, allocations: 306 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4413, allocations: 8.031 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.4414, allocations: 12.89 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.4416, allocations: 134.4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4416, allocations: 8.359 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4416, allocations: 12.31 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.4418, allocations: 95.86 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4418, allocations: 192 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.4418, allocations: 3.938 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4418, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.4419, allocations: 39.92 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.4425, allocations: 360.5 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.4426, allocations: 41.25 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.4426, allocations: 25.72 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.4426, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4427, allocations: 34.56 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.4427, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001984/0.4429, allocations: 57.52 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.4429, allocations: 77.11 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4431, allocations: 129.8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.4431, allocations: 25.95 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.4432, allocations: 115.9 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.4432, allocations: 3.953 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.4432, allocations: 17.72 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.4435, allocations: 318.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.4435, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.4435, allocations: 17.72 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.4435, allocations: 29.66 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4435, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/0.4437, allocations: 65.58 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4437, allocations: 5.875 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4437, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4437, allocations: 7.938 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.4438, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.4438, allocations: 3.984 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.4438, allocations: 7.984 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.4438, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 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.341e-05/0.4439, allocations: 117.8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.4439, allocations: 7.953 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.444, allocations: 7.531 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.444, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.444, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.444, allocations: 11.98 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.444, allocations: 3.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.4441, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.4441, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001418/0.4443, allocations: 196.2 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002397/0.4445, allocations: 294 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.455e-05/0.4445, allocations: 12.09 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.611e-05/0.4446, allocations: 107.9 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Backend: time 5.71e-07/0.4446, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004276/0.445, allocations: 82.41 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005967/0.4456, allocations: 0.608 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of Templates: time 0.003104/0.4487, allocations: 485.3 kB / 1.332 GB, free: 11.64 MB / 1.029 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/jenkins1/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: 9.410592811997049]