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.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.001329/0.001329, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001452/0.001452, allocations: 220.8 kB / 23.01 MB, free: 4.609 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.212/3.212, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.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: 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.00207/0.00207, allocations: 75.45 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002172/0.3799, allocations: 0.8429 MB / 1.355 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001265/0.38, allocations: 39.78 kB / 1.355 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.38, allocations: 0 / 1.355 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.3801, allocations: 11.86 kB / 1.355 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.3802, allocations: 15.88 kB / 1.355 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.966e-05/0.3802, allocations: 15.98 kB / 1.355 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.3803, allocations: 63.84 kB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3805, allocations: 35.95 kB / 1.355 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.3805, allocations: 23.88 kB / 1.355 GB, free: 6.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.3806, allocations: 31.78 kB / 1.355 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3806, allocations: 8 kB / 1.355 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.3806, allocations: 4 kB / 1.355 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.3807, allocations: 15.94 kB / 1.355 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.3807, allocations: 31.73 kB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3808, allocations: 79.58 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3809, allocations: 4 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3809, allocations: 0 / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3809, allocations: 0 / 1.355 GB, free: 6.738 MB / 1.045 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.0004785/0.3813, allocations: 306 kB / 1.356 GB, free: 6.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3814, allocations: 8.031 kB / 1.356 GB, free: 6.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3814, allocations: 12.89 kB / 1.356 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3816, allocations: 142.2 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.3816, allocations: 4.375 kB / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3817, allocations: 8.375 kB / 1.356 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3818, allocations: 99.8 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3818, allocations: 192 / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3818, allocations: 7.938 kB / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3819, allocations: 0 / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.083e-05/0.3819, allocations: 39.97 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.3825, allocations: 407.8 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.611e-05/0.3826, allocations: 33.22 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.3826, allocations: 17.78 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.3827, allocations: 3.984 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3827, allocations: 42.59 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3827, allocations: 0 / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001919/0.3829, allocations: 57.53 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3829, allocations: 77.11 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3831, allocations: 155.7 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3831, allocations: 25.7 kB / 1.357 GB, free: 5.133 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.3832, allocations: 108 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.3832, allocations: 8.203 kB / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.3832, allocations: 21.72 kB / 1.357 GB, free: 4.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3834, allocations: 318.8 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.3834, allocations: 4 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.3834, allocations: 21.7 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.3835, allocations: 29.59 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3835, allocations: 8 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.806e-05/0.3836, allocations: 53.66 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3836, allocations: 4 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3836, allocations: 7.922 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3836, allocations: 8 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.3837, allocations: 4 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3837, allocations: 7.922 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.034e-05/0.3837, allocations: 7.953 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3837, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.045 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.944e-05/0.3838, allocations: 125.8 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.3839, allocations: 7.953 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.3839, allocations: 19.73 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3839, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3839, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3839, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.3844, allocations: 449.7 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3844, allocations: 8.062 kB / 1.358 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.3844, allocations: 0 / 1.358 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3844, allocations: 0 / 1.358 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3844, allocations: 4.094 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3844, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3844, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.3845, allocations: 93.8 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.3846, allocations: 7.953 kB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3846, allocations: 0 / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.3846, allocations: 4 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.3846, allocations: 7.984 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3846, allocations: 0 / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001051/0.3847, allocations: 120.9 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3847, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001997/0.3849, allocations: 8 kB / 1.358 GB, free: 3.566 MB / 1.045 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.0001405/0.3851, allocations: 95.28 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.3852, allocations: 19.94 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3852, allocations: 0 / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.3852, allocations: 4 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.3854, allocations: 19.86 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.3857, allocations: 180.7 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3861, allocations: 0.6963 MB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.3861, allocations: 11.44 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3861, allocations: 0 / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of Templates: time 0.002738/0.3889, allocations: 0.8673 MB / 1.36 GB, free: 1.602 MB / 1.045 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/jenkins1/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: 11.242340263997903]