Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 190.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.248/3.248, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 73.78 kB / 1.145 GB, free: 30.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4119, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002285/0.4142, allocations: 0.8373 MB / 1.317 GB, free: 8.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.4143, allocations: 39.78 kB / 1.317 GB, free: 8.879 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.4143, allocations: 4 kB / 1.317 GB, free: 8.875 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.4144, allocations: 11.86 kB / 1.317 GB, free: 8.863 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.4145, allocations: 7.875 kB / 1.317 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.125e-05/0.4145, allocations: 19.98 kB / 1.317 GB, free: 8.836 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.4147, allocations: 59.84 kB / 1.317 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.4148, allocations: 39.95 kB / 1.317 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.4149, allocations: 19.88 kB / 1.317 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.415, allocations: 31.84 kB / 1.317 GB, free: 8.688 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.415, allocations: 8 kB / 1.317 GB, free: 8.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.415, allocations: 8 kB / 1.317 GB, free: 8.672 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.415, allocations: 15.88 kB / 1.317 GB, free: 8.656 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.4151, allocations: 35.8 kB / 1.317 GB, free: 8.621 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.4152, allocations: 75.58 kB / 1.317 GB, free: 8.547 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4152, allocations: 3.938 kB / 1.317 GB, free: 8.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.939e-06/0.4152, allocations: 4 kB / 1.317 GB, free: 8.539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4152, allocations: 0 / 1.317 GB, free: 8.539 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.0004786/0.4157, allocations: 306 kB / 1.318 GB, free: 8.207 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4157, allocations: 12.03 kB / 1.318 GB, free: 8.195 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.4158, allocations: 8.891 kB / 1.318 GB, free: 8.188 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.416, allocations: 134.4 kB / 1.318 GB, free: 8.031 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.416, allocations: 8.375 kB / 1.318 GB, free: 8.023 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.416, allocations: 8.375 kB / 1.318 GB, free: 8.016 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.4162, allocations: 87.95 kB / 1.318 GB, free: 7.918 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4162, allocations: 192 / 1.318 GB, free: 7.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4162, allocations: 3.938 kB / 1.318 GB, free: 7.914 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4162, allocations: 11.94 kB / 1.318 GB, free: 7.902 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.4163, allocations: 39.97 kB / 1.318 GB, free: 7.863 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.4169, allocations: 395.7 kB / 1.318 GB, free: 7.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.655e-05/0.4169, allocations: 41.28 kB / 1.318 GB, free: 7.371 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.417, allocations: 25.84 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.417, allocations: 3.984 kB / 1.318 GB, free: 7.336 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.417, allocations: 34.5 kB / 1.318 GB, free: 7.293 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.417, allocations: 3.938 kB / 1.318 GB, free: 7.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.4172, allocations: 53.59 kB / 1.318 GB, free: 7.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.4173, allocations: 85.3 kB / 1.318 GB, free: 7.129 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.4174, allocations: 160.5 kB / 1.319 GB, free: 6.965 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4175, allocations: 25.7 kB / 1.319 GB, free: 6.934 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.4175, allocations: 108 kB / 1.319 GB, free: 6.824 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.4175, allocations: 7.953 kB / 1.319 GB, free: 6.816 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.4176, allocations: 13.72 kB / 1.319 GB, free: 6.797 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4177, allocations: 322.8 kB / 1.319 GB, free: 6.473 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.4177, allocations: 8 kB / 1.319 GB, free: 6.465 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.4178, allocations: 21.7 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.4178, allocations: 25.72 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.4178, allocations: 0 / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.439e-05/0.4179, allocations: 57.53 kB / 1.319 GB, free: 6.344 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4179, allocations: 8 kB / 1.319 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4179, allocations: 7.922 kB / 1.319 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4179, allocations: 4.062 kB / 1.319 GB, free: 6.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.418, allocations: 4.094 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.418, allocations: 4 kB / 1.319 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.418, allocations: 0 / 1.319 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.418, allocations: 11.98 kB / 1.319 GB, free: 6.305 MB / 1.014 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 8.702e-05/0.4181, allocations: 111.2 kB / 1.319 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.4182, allocations: 15.91 kB / 1.319 GB, free: 6.172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.4182, allocations: 15.73 kB / 1.319 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4182, allocations: 0 / 1.319 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4182, allocations: 8 kB / 1.319 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.4182, allocations: 0 / 1.319 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.4187, allocations: 445.8 kB / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4187, allocations: 0 / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.4187, allocations: 4 kB / 1.32 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4187, allocations: 0 / 1.32 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4187, allocations: 0 / 1.32 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4187, allocations: 0 / 1.32 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4187, allocations: 8.062 kB / 1.32 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.862e-05/0.4188, allocations: 77.88 kB / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.4188, allocations: 15.89 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.4188, allocations: 4 kB / 1.32 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.4189, allocations: 0 / 1.32 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.4189, allocations: 3.984 kB / 1.32 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4189, allocations: 8.031 kB / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.346e-05/0.419, allocations: 117.7 kB / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.419, allocations: 7.938 kB / 1.32 GB, free: 5.391 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001744/0.4191, allocations: 4 kB / 1.32 GB, free: 5.387 MB / 1.014 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.0001235/0.4193, allocations: 99.25 kB / 1.32 GB, free: 5.281 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.646e-05/0.4194, allocations: 15.94 kB / 1.32 GB, free: 5.266 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4194, allocations: 4 kB / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-06/0.4194, allocations: 4.125 kB / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.4195, allocations: 19.83 kB / 1.32 GB, free: 5.238 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.4199, allocations: 158.6 kB / 1.32 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4202, allocations: 0.7001 MB / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.4203, allocations: 12.55 kB / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.4203, allocations: 11.44 kB / 1.321 GB, free: 4.297 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.4203, allocations: 0 / 1.321 GB, free: 4.297 MB / 1.014 GB Notification: Performance of Templates: time 0.003049/0.4233, allocations: 476.5 kB / 1.321 GB, free: 3.832 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.251331528648734]