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.001315/0.001315, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001494/0.001494, allocations: 220 kB / 23 MB, free: 4.914 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.185/3.185, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 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.002122/0.002122, allocations: 66.12 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3248, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002389/0.3272, allocations: 0.8073 MB / 1.327 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.3273, allocations: 35.84 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.3274, allocations: 4 kB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.874e-05/0.3275, allocations: 11.86 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.3275, allocations: 11.88 kB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.423e-05/0.3276, allocations: 15.98 kB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3277, allocations: 67.84 kB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3279, allocations: 31.95 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.328, allocations: 27.81 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.328, allocations: 27.84 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.328, allocations: 4 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.3281, allocations: 8 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.3281, allocations: 15.92 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.3281, allocations: 27.81 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.3283, allocations: 83.52 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3283, allocations: 0 / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3283, allocations: 0 / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3283, allocations: 4 kB / 1.327 GB, free: 0.7148 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.0004699/0.3288, allocations: 306 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3288, allocations: 8.031 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3288, allocations: 8.891 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.3291, allocations: 130.4 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3291, allocations: 8.375 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3291, allocations: 8.312 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3293, allocations: 101.6 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3293, allocations: 192 / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3293, allocations: 3.938 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3293, allocations: 8 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.3294, allocations: 35.92 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.33, allocations: 360.5 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.022e-05/0.3301, allocations: 37.25 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.3301, allocations: 17.78 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.3301, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3302, allocations: 38.5 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3302, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.3304, allocations: 65.5 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.3304, allocations: 77.11 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3306, allocations: 132.5 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3306, allocations: 25.7 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.3307, allocations: 107.9 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.3307, allocations: 11.95 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.3307, allocations: 17.66 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3309, allocations: 314.8 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.3309, allocations: 7.984 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.3309, allocations: 21.91 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.331, allocations: 29.72 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.331, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.3311, allocations: 61.58 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3311, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3311, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3311, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.3312, allocations: 8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.3312, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.3312, allocations: 4.062 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3312, allocations: 8 kB / 1.329 GB, free: 14.57 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 9.872e-05/0.3313, allocations: 117.8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.3314, allocations: 7.938 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.3314, allocations: 15.41 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3314, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3314, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3314, allocations: 4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.3318, allocations: 406.5 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3318, allocations: 12 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.3319, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3319, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3319, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3319, allocations: 3.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3319, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.994e-05/0.332, allocations: 73.94 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.332, allocations: 15.89 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.332, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.332, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.3321, allocations: 12.02 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3321, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.561e-05/0.3321, allocations: 99.27 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3321, allocations: 3.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001932/0.3323, allocations: 8 kB / 1.33 GB, free: 13.72 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.0001451/0.3325, allocations: 107.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.927e-05/0.3326, allocations: 12 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3326, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.3326, allocations: 12.12 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.3327, allocations: 15.92 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.3331, allocations: 176.5 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.257e-05/0.3332, allocations: 85.7 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3332, allocations: 11.44 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3332, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of Templates: time 0.00236/0.3356, allocations: 0.7977 MB / 1.331 GB, free: 12.44 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/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: 10.981495218351483]