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.002031/0.002031, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00293/0.00293, allocations: 214.7 kB / 22.25 MB, free: 5.242 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.789 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.467/3.467, allocations: 0.4892 GB / 0.7943 GB, free: 35.79 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.002094/0.002094, allocations: 66.56 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4372, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002419/0.4397, allocations: 0.7898 MB / 1.326 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.4398, allocations: 39.78 kB / 1.326 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.4399, allocations: 0 / 1.326 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.269e-05/0.4399, allocations: 7.875 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.44, allocations: 15.88 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.988e-05/0.44, allocations: 15.98 kB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.4402, allocations: 63.81 kB / 1.326 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.4403, allocations: 27.98 kB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.4404, allocations: 31.8 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.4405, allocations: 27.8 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4405, allocations: 8 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.4405, allocations: 4 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.4405, allocations: 15.98 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.4406, allocations: 27.81 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.4407, allocations: 75.56 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4407, allocations: 0 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4407, allocations: 0 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.4407, allocations: 7.938 kB / 1.327 GB, free: 0.6797 MB / 1.014 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.0005686/0.4413, allocations: 306 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4414, allocations: 11.97 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.4414, allocations: 12.89 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.4416, allocations: 130.4 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4416, allocations: 384 / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.4416, allocations: 12.38 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4418, allocations: 101.7 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4418, allocations: 192 / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.4418, allocations: 7.938 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4419, allocations: 3.984 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.4419, allocations: 35.98 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.4425, allocations: 364.3 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.534e-05/0.4426, allocations: 37.16 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.4426, allocations: 25.88 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.4426, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4426, allocations: 30.56 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.4426, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.4428, allocations: 57.52 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.4429, allocations: 81.11 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.443, allocations: 130.1 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.443, allocations: 29.7 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.4431, allocations: 107.9 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.4431, allocations: 3.953 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.4432, allocations: 17.72 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4434, allocations: 322.8 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.4434, allocations: 4 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.4434, allocations: 17.72 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.4435, allocations: 25.66 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4435, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.402e-05/0.4436, allocations: 61.64 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4436, allocations: 8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4436, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4436, allocations: 7.875 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.4437, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4437, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.4437, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.4437, allocations: 0 / 1.329 GB, free: 14.55 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 0.0001019/0.4438, allocations: 121.8 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.4438, allocations: 12.02 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.4439, allocations: 11.41 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4439, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4439, allocations: 3.938 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4439, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.4443, allocations: 410.5 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.4443, allocations: 3.938 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.4443, allocations: 8 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4443, allocations: 4 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.4443, allocations: 3.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4443, allocations: 4.062 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4443, allocations: 7.984 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.908e-05/0.4444, allocations: 77.88 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.4445, allocations: 11.89 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4445, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.4445, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.4445, allocations: 7.984 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.4445, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.43e-05/0.4446, allocations: 95.27 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4446, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001804/0.4448, allocations: 12.03 kB / 1.329 GB, free: 13.68 MB / 1.029 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.0001294/0.4449, allocations: 99.23 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.445, allocations: 19.94 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.445, allocations: 0 / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.445, allocations: 7.984 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.4451, allocations: 7.938 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.4455, allocations: 158.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.87e-05/0.4456, allocations: 87.38 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.607e-05/0.4456, allocations: 3.984 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.4456, allocations: 11.44 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4456, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Templates: time 0.002735/0.4484, allocations: 367.2 kB / 1.33 GB, free: 12.87 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/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: 9.692416364327073]