Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.00176/0.00176, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002089/0.002089, allocations: 210.6 kB / 22.24 MB, free: 5.262 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.777 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.597/3.597, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [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.00206/0.00206, allocations: 64.22 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4499, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00269/0.4526, allocations: 0.7958 MB / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001574/0.4528, allocations: 39.78 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.4528, allocations: 0 / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.4529, allocations: 11.86 kB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.453, allocations: 11.88 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-05/0.453, allocations: 19.98 kB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.4532, allocations: 59.84 kB / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.4533, allocations: 35.95 kB / 1.326 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.4534, allocations: 23.88 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.4534, allocations: 27.78 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.4535, allocations: 8 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.4535, allocations: 4 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.4535, allocations: 15.94 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.4535, allocations: 27.8 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.4537, allocations: 75.58 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4537, allocations: 4 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4537, allocations: 4 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.4537, allocations: 0 / 1.327 GB, free: 0.6719 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.0004729/0.4542, allocations: 306 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4542, allocations: 8.031 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.4543, allocations: 8.891 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.4546, allocations: 138.4 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4546, allocations: 4.375 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.4546, allocations: 8.375 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.4548, allocations: 93.52 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.4548, allocations: 8.125 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.4548, allocations: 15.92 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4549, allocations: 0 / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.455, allocations: 35.98 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.4555, allocations: 352.4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.49e-05/0.4555, allocations: 41.14 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.4556, allocations: 17.84 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.4556, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4556, allocations: 42.59 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4556, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.4558, allocations: 57.52 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.4559, allocations: 77.11 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.456, allocations: 121.8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.456, allocations: 25.7 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.4561, allocations: 111.9 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.4561, allocations: 11.88 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.4561, allocations: 17.72 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4563, allocations: 314.8 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.4563, allocations: 12.23 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.4563, allocations: 25.7 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.352e-05/0.4564, allocations: 25.66 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4564, allocations: 0 / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.9e-05/0.4565, allocations: 57.64 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4565, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.4565, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4565, allocations: 3.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.4566, allocations: 15.94 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4566, allocations: 4.062 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.4566, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.4566, allocations: 4 kB / 1.329 GB, free: 14.53 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 9e-05/0.4567, allocations: 113.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.4567, allocations: 7.953 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.4568, allocations: 15.39 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4568, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4568, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4568, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.4572, allocations: 414.5 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4572, allocations: 7.969 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.4572, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4572, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.4572, allocations: 3.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4572, allocations: 4 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4572, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.4573, allocations: 81.88 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.4574, allocations: 11.89 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4574, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.4574, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.4574, allocations: 4.031 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.4574, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.935e-05/0.4575, allocations: 106 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4575, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001938/0.4577, allocations: 11.94 kB / 1.329 GB, free: 13.67 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.0001365/0.4578, allocations: 99.23 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.4579, allocations: 15.94 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4579, allocations: 0 / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.458, allocations: 12.12 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.000158/0.4581, allocations: 7.938 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.4585, allocations: 158.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.819e-05/0.4586, allocations: 83.12 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.4587, allocations: 7.922 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.4587, allocations: 11.44 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.4587, allocations: 4.125 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of Templates: time 0.003036/0.4617, allocations: 372.1 kB / 1.33 GB, free: 12.85 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.898261295631528]