Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001687/0.001687, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002098/0.002098, allocations: 217 kB / 22.99 MB, free: 4.945 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.274/3.274, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00221/0.00221, allocations: 74.92 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3334, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002161/0.3356, allocations: 0.7907 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.3357, allocations: 43.78 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.3358, allocations: 0 / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.757e-05/0.3358, allocations: 11.86 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.3359, allocations: 7.938 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.557e-05/0.3359, allocations: 15.98 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3361, allocations: 63.78 kB / 1.366 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3362, allocations: 39.89 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.3363, allocations: 23.88 kB / 1.366 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.3363, allocations: 27.78 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3364, allocations: 8 kB / 1.366 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.3364, allocations: 8 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.3364, allocations: 15.94 kB / 1.366 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.3364, allocations: 27.8 kB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.3366, allocations: 75.58 kB / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3366, allocations: 0 / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3366, allocations: 0 / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3366, allocations: 4 kB / 1.366 GB, free: 12.45 MB / 1.061 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.0004487/0.337, allocations: 302 kB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3371, allocations: 8.031 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.3371, allocations: 12.84 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.3373, allocations: 142.4 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3373, allocations: 4.375 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3373, allocations: 12.38 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3375, allocations: 91.84 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3375, allocations: 4.125 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3375, allocations: 11.94 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3375, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.3376, allocations: 39.92 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.3381, allocations: 352.4 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.696e-05/0.3382, allocations: 45.28 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.3382, allocations: 17.84 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.3382, allocations: 0 / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.3383, allocations: 34.56 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3383, allocations: 0 / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.3384, allocations: 57.52 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.3385, allocations: 81.11 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3386, allocations: 124.1 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3387, allocations: 29.94 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.3387, allocations: 119.9 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-06/0.3387, allocations: 3.953 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.3388, allocations: 17.72 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3389, allocations: 314.8 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.3389, allocations: 11.98 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.339, allocations: 17.72 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.339, allocations: 21.72 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.339, allocations: 0 / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.157e-05/0.3391, allocations: 61.56 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3391, allocations: 8 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3391, allocations: 0 / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3391, allocations: 3.938 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.3392, allocations: 8 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3392, allocations: 4 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.3392, allocations: 3.953 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.3392, allocations: 0 / 1.368 GB, free: 10.31 MB / 1.061 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.199e-05/0.3393, allocations: 118.9 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3394, allocations: 11.92 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.3394, allocations: 15.47 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3394, allocations: 0 / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3394, allocations: 0 / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3394, allocations: 0 / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.3398, allocations: 418.4 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3398, allocations: 3.938 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.3398, allocations: 4.094 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3398, allocations: 3.984 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.3399, allocations: 0 / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3399, allocations: 4 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3399, allocations: 4.062 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.695e-05/0.3399, allocations: 73.98 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.34, allocations: 11.89 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.34, allocations: 4 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.34, allocations: 0 / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.34, allocations: 7.922 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.34, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.3401, allocations: 103.3 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3401, allocations: 0 / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001992/0.3403, allocations: 11.95 kB / 1.368 GB, free: 9.445 MB / 1.061 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.0001078/0.3404, allocations: 95.28 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.312e-05/0.3405, allocations: 16 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3405, allocations: 0 / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.3405, allocations: 11.94 kB / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.3407, allocations: 9.953 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.341, allocations: 180.5 kB / 1.369 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.3411, allocations: 87.38 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.3411, allocations: 7.438 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3411, allocations: 0 / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of Templates: time 0.002486/0.3436, allocations: 0.8023 MB / 1.37 GB, free: 8.176 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.90961212432012]