Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001331/0.001331, 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.002502/0.002502, allocations: 213.1 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.812 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.985/2.985, allocations: 476 MB / 0.7699 GB, free: 4.758 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.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_11_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_11_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.002996/0.002996, allocations: 69.27 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4366, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002374/0.439, allocations: 0.7961 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000138/0.4391, allocations: 39.78 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.4392, allocations: 4 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.228e-05/0.4392, allocations: 11.86 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.749e-05/0.4393, allocations: 11.88 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.642e-05/0.4394, allocations: 19.98 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.4395, allocations: 63.84 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.4397, allocations: 23.97 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.4397, allocations: 23.88 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.4398, allocations: 35.77 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.4398, allocations: 4 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.4398, allocations: 8 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.4399, allocations: 15.88 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.4399, allocations: 31.8 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.44, allocations: 75.58 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.44, allocations: 8 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.44, allocations: 0 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.4401, allocations: 0 / 1.284 GB, free: 10.77 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.0004964/0.4406, allocations: 310.1 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4406, allocations: 8.031 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.4406, allocations: 8.891 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.4408, allocations: 138.3 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4408, allocations: 8.375 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.4409, allocations: 4.375 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.4411, allocations: 99.8 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4411, allocations: 4.188 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4411, allocations: 3.938 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.4411, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.4412, allocations: 39.97 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.4418, allocations: 352.4 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/0.4418, allocations: 41.2 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.4419, allocations: 17.78 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.4419, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.4419, allocations: 42.58 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4419, allocations: 4 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.4421, allocations: 57.52 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.4422, allocations: 81.05 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4423, allocations: 127.5 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4423, allocations: 25.7 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.4425, allocations: 107.9 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.4425, allocations: 15.92 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.4425, allocations: 17.72 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4427, allocations: 314.8 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.4427, allocations: 8.25 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.4428, allocations: 21.7 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.4428, allocations: 25.66 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4428, allocations: 4 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.295e-05/0.4429, allocations: 57.64 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4429, allocations: 6.344 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4429, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.443, allocations: 3.938 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.443, allocations: 16 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.443, allocations: 3.938 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.4431, allocations: 0 / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.4431, allocations: 4 kB / 1.286 GB, free: 8.621 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 0.0001157/0.4432, allocations: 117.8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.4432, allocations: 3.953 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.4433, allocations: 19.39 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4433, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4433, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4433, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.4437, allocations: 414.5 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.4437, allocations: 3.938 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.4437, allocations: 4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4437, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4438, allocations: 8 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4438, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4438, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.42e-05/0.4438, allocations: 77.88 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.4439, allocations: 7.938 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.4439, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.4439, allocations: 8.094 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.4439, allocations: 7.938 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.4439, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.431e-05/0.444, allocations: 102.9 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.444, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001939/0.4442, allocations: 15.95 kB / 1.287 GB, free: 7.773 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.0001129/0.4443, allocations: 95.25 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.813e-05/0.4444, allocations: 15.94 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4444, allocations: 4.125 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.4444, allocations: 4 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4446, allocations: 11.94 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.4449, allocations: 154.8 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.445, allocations: 83.14 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.349e-05/0.4451, allocations: 12.11 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.4451, allocations: 11.38 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.4451, allocations: 0 / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of Templates: time 0.0029/0.448, allocations: 371.8 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.823626406490803]