Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.001905/0.001905, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002379/0.002379, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.558/1.558, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 67.89 kB / 1.107 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9741/0.9762, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002691/0.9789, allocations: 1.525 MB / 1.273 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1853/1.164, allocations: 132.5 MB / 1.403 GB, free: 5.883 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/1.164, allocations: 5.281 kB / 1.403 GB, free: 5.879 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/1.164, allocations: 11.86 kB / 1.403 GB, free: 5.867 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 9.427e-05/1.164, allocations: 5.094 kB / 1.403 GB, free: 5.863 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/1.165, allocations: 67.8 kB / 1.403 GB, free: 5.816 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/1.165, allocations: 61.55 kB / 1.403 GB, free: 5.777 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/1.165, allocations: 8.531 kB / 1.403 GB, free: 5.773 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/1.165, allocations: 19.7 kB / 1.403 GB, free: 5.762 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/1.165, allocations: 26.25 kB / 1.403 GB, free: 5.742 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/1.165, allocations: 4.75 kB / 1.403 GB, free: 5.742 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/1.166, allocations: 22.62 kB / 1.403 GB, free: 5.73 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/1.166, allocations: 13.23 kB / 1.403 GB, free: 5.719 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/1.166, allocations: 14.41 kB / 1.403 GB, free: 5.711 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/1.166, allocations: 62.2 kB / 1.403 GB, free: 5.672 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.166, allocations: 0 / 1.403 GB, free: 5.672 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/1.166, allocations: 0 / 1.403 GB, free: 5.672 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.166, allocations: 0 / 1.403 GB, free: 5.672 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000651/1.166, allocations: 379.1 kB / 1.403 GB, free: 5.277 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.166, allocations: 13.81 kB / 1.403 GB, free: 5.273 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/1.167, allocations: 3.656 kB / 1.403 GB, free: 5.273 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/1.167, allocations: 170.8 kB / 1.404 GB, free: 5.07 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.167, allocations: 5.578 kB / 1.404 GB, free: 5.066 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/1.167, allocations: 6.844 kB / 1.404 GB, free: 5.062 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/1.167, allocations: 73.56 kB / 1.404 GB, free: 5.008 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.167, allocations: 1.594 kB / 1.404 GB, free: 5.008 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/1.167, allocations: 3.938 kB / 1.404 GB, free: 5.004 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.167, allocations: 1.219 kB / 1.404 GB, free: 5.004 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/1.167, allocations: 73.31 kB / 1.404 GB, free: 4.969 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/1.168, allocations: 287.7 kB / 1.404 GB, free: 4.656 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/1.168, allocations: 59.5 kB / 1.404 GB, free: 4.609 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/1.168, allocations: 34.7 kB / 1.404 GB, free: 4.59 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/1.168, allocations: 90.22 kB / 1.404 GB, free: 4.492 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.168, allocations: 35.81 kB / 1.404 GB, free: 4.449 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/1.168, allocations: 0 / 1.404 GB, free: 4.449 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.000572/1.169, allocations: 139 kB / 1.404 GB, free: 4.363 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/1.169, allocations: 55.34 kB / 1.404 GB, free: 4.297 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.169, allocations: 116.2 kB / 1.405 GB, free: 4.188 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/1.169, allocations: 26.86 kB / 1.405 GB, free: 4.156 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/1.169, allocations: 90.56 kB / 1.405 GB, free: 4.066 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/1.169, allocations: 9.641 kB / 1.405 GB, free: 4.059 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/1.169, allocations: 19.66 kB / 1.405 GB, free: 4.035 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.17, allocations: 316.3 kB / 1.405 GB, free: 3.719 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/1.17, allocations: 33.02 kB / 1.405 GB, free: 3.703 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/1.17, allocations: 30.28 kB / 1.405 GB, free: 3.691 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/1.17, allocations: 71.75 kB / 1.405 GB, free: 3.652 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.17, allocations: 0 / 1.405 GB, free: 3.652 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/1.17, allocations: 97.73 kB / 1.405 GB, free: 3.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.17, allocations: 7.281 kB / 1.405 GB, free: 3.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/1.17, allocations: 9.438 kB / 1.405 GB, free: 3.582 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.17, allocations: 0 / 1.405 GB, free: 3.582 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/1.171, allocations: 18.25 kB / 1.405 GB, free: 3.574 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.171, allocations: 0 / 1.405 GB, free: 3.574 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/1.171, allocations: 20.05 kB / 1.405 GB, free: 3.562 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/1.171, allocations: 0 / 1.405 GB, free: 3.562 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.031e-05/1.171, allocations: 114.3 kB / 1.405 GB, free: 3.445 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/1.171, allocations: 11.02 kB / 1.405 GB, free: 3.438 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/1.171, allocations: 109.3 kB / 1.406 GB, free: 3.355 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/1.171, allocations: 0 / 1.406 GB, free: 3.355 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.171, allocations: 5.547 kB / 1.406 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/1.171, allocations: 0 / 1.406 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/1.171, allocations: 170.6 kB / 1.406 GB, free: 3.145 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.171, allocations: 0 / 1.406 GB, free: 3.145 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/1.171, allocations: 25.69 kB / 1.406 GB, free: 3.129 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/1.171, allocations: 1.125 kB / 1.406 GB, free: 3.129 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/1.171, allocations: 1.531 kB / 1.406 GB, free: 3.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.171, allocations: 3.984 kB / 1.406 GB, free: 3.125 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.171, allocations: 0 / 1.406 GB, free: 3.125 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/1.172, allocations: 209.3 kB / 1.406 GB, free: 2.945 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/1.172, allocations: 82.56 kB / 1.406 GB, free: 2.848 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/1.172, allocations: 1.375 kB / 1.406 GB, free: 2.848 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/1.172, allocations: 10.55 kB / 1.406 GB, free: 2.844 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/1.172, allocations: 5.5 kB / 1.406 GB, free: 2.84 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/1.172, allocations: 1.125 kB / 1.406 GB, free: 2.84 MB / 1.092 GB Notification: Performance of sorting global known variables: time 7.234e-05/1.172, allocations: 92.08 kB / 1.406 GB, free: 2.758 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.172, allocations: 1.406 kB / 1.406 GB, free: 2.758 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000237/1.172, allocations: 19.81 kB / 1.406 GB, free: 2.75 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001773/1.173, allocations: 109.1 kB / 1.406 GB, free: 2.656 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003497/1.173, allocations: 66.73 kB / 1.406 GB, free: 2.629 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.173, allocations: 0 / 1.406 GB, free: 2.629 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/1.173, allocations: 44.83 kB / 1.406 GB, free: 2.605 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/1.173, allocations: 13.03 kB / 1.406 GB, free: 2.598 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/1.174, allocations: 174.1 kB / 1.406 GB, free: 2.453 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.174, allocations: 0.685 MB / 1.407 GB, free: 1.75 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.867e-05/1.174, allocations: 5.469 kB / 1.407 GB, free: 1.746 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/1.174, allocations: 10.25 kB / 1.407 GB, free: 1.738 MB / 1.092 GB Notification: Performance of SimCode: time 3.81e-07/1.174, allocations: 1.281 kB / 1.407 GB, free: 1.738 MB / 1.092 GB Notification: Performance of Templates: time 0.003902/1.178, allocations: 1.006 MB / 1.408 GB, free: 1.23 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.322318837046623]