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.00188/0.00188, allocations: 77.33 kB / 19.76 MB, free: 2.031 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.002184/0.002184, allocations: 158 kB / 23 MB, free: 4.961 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.481/1.481, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.918/2.918, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002121/0.002121, allocations: 63.89 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001861/1.033, allocations: 0.7855 MB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/1.033, allocations: 48.03 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/1.033, allocations: 2.75 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/1.033, allocations: 11.88 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/1.033, allocations: 3.938 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.616e-05/1.033, allocations: 23.86 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/1.033, allocations: 60.89 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/1.033, allocations: 37.48 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/1.034, allocations: 28.41 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/1.034, allocations: 21.06 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/1.034, allocations: 5.625 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/1.034, allocations: 5.719 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/1.034, allocations: 14.33 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/1.034, allocations: 37.34 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.84e-05/1.034, allocations: 73.23 kB / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/1.034, allocations: 0 / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/1.034, allocations: 0 / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.169e-06/1.034, allocations: 0 / 1.155 GB, free: 32.67 MB / 1.076 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.0003322/1.034, allocations: 306.8 kB / 1.155 GB, free: 32.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/1.034, allocations: 8.75 kB / 1.155 GB, free: 32.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/1.034, allocations: 11.73 kB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/1.034, allocations: 145.3 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/1.034, allocations: 7.312 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/1.034, allocations: 10.34 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/1.034, allocations: 94.62 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/1.034, allocations: 192 / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.034, allocations: 7.938 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.035, allocations: 5.734 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/1.035, allocations: 35.83 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/1.035, allocations: 352.6 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/1.035, allocations: 38.75 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/1.035, allocations: 19.22 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/1.035, allocations: 4 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/1.035, allocations: 33.31 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.035, allocations: 0 / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/1.035, allocations: 55.52 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.035, allocations: 84.14 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/1.035, allocations: 122.3 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/1.035, allocations: 25.7 kB / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/1.035, allocations: 112.8 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-06/1.035, allocations: 13.62 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/1.035, allocations: 20.34 kB / 1.156 GB, free: 31.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/1.035, allocations: 313.4 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/1.035, allocations: 13.86 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/1.035, allocations: 14.91 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/1.035, allocations: 33.12 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.035, allocations: 3.938 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.293e-05/1.036, allocations: 57.16 kB / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.036, allocations: 5.5 kB / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.036, allocations: 8.047 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.036, allocations: 3.938 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/1.036, allocations: 5.344 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.036, allocations: 2.594 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/1.036, allocations: 3 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-06/1.036, allocations: 2.906 kB / 1.157 GB, free: 30.84 MB / 1.076 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 4.888e-05/1.036, allocations: 113.2 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/1.036, allocations: 6.922 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/1.036, allocations: 14.62 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.036, allocations: 0 / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.036, allocations: 4 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.036, allocations: 7.078 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/1.036, allocations: 404.5 kB / 1.157 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.036, allocations: 3.938 kB / 1.157 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/1.036, allocations: 6.469 kB / 1.157 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.036, allocations: 2.562 kB / 1.157 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/1.036, allocations: 0 / 1.157 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.036, allocations: 0 / 1.157 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.036, allocations: 6.312 kB / 1.157 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.306e-05/1.036, allocations: 80.28 kB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/1.036, allocations: 18.14 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/1.036, allocations: 2.969 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/1.036, allocations: 0 / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/1.036, allocations: 6.797 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/1.036, allocations: 0 / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.971e-05/1.036, allocations: 104.5 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.036, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000185/1.036, allocations: 9.844 kB / 1.158 GB, free: 30.09 MB / 1.076 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 7.535e-05/1.036, allocations: 96.7 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.717e-05/1.037, allocations: 19.81 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.037, allocations: 0 / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-06/1.037, allocations: 6.812 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/1.037, allocations: 14.66 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/1.037, allocations: 156.5 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.321e-05/1.037, allocations: 83.28 kB / 1.158 GB, free: 29.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.764e-05/1.037, allocations: 10.34 kB / 1.158 GB, free: 29.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/1.037, allocations: 11.41 kB / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/1.037, allocations: 0 / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of Templates: time 0.002418/1.039, allocations: 321.4 kB / 1.158 GB, free: 29.67 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.26784565509297]