Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.001876/0.001876, allocations: 117.2 kB / 17.13 MB, free: 5.945 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.002183/0.002183, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.571/1.571, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.992/2.992, allocations: 0.49 GB / 0.7923 GB, free: 1.273 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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [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.002058/0.002058, allocations: 75.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.137, allocations: 176.1 MB / 1.322 GB, free: 25.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002717/1.139, allocations: 1.505 MB / 1.323 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1817/1.321, allocations: 135.3 MB / 1.455 GB, free: 5.762 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/1.321, allocations: 0 / 1.455 GB, free: 5.762 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/1.321, allocations: 5.297 kB / 1.455 GB, free: 5.758 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/1.321, allocations: 15.97 kB / 1.456 GB, free: 5.746 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/1.322, allocations: 67 kB / 1.456 GB, free: 5.715 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/1.322, allocations: 56.36 kB / 1.456 GB, free: 5.688 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/1.322, allocations: 10.66 kB / 1.456 GB, free: 5.684 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/1.322, allocations: 27.86 kB / 1.456 GB, free: 5.668 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/1.322, allocations: 20.98 kB / 1.456 GB, free: 5.66 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/1.322, allocations: 4.469 kB / 1.456 GB, free: 5.66 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/1.322, allocations: 22.02 kB / 1.456 GB, free: 5.652 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/1.322, allocations: 12.94 kB / 1.456 GB, free: 5.645 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/1.322, allocations: 31 kB / 1.456 GB, free: 5.621 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/1.322, allocations: 58.11 kB / 1.456 GB, free: 5.598 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.322, allocations: 0 / 1.456 GB, free: 5.598 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.472e-06/1.322, allocations: 3.938 kB / 1.456 GB, free: 5.594 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.15e-06/1.322, allocations: 1.156 kB / 1.456 GB, free: 5.594 MB / 1.139 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.0005987/1.323, allocations: 373.2 kB / 1.456 GB, free: 5.219 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.323, allocations: 14.31 kB / 1.456 GB, free: 5.215 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/1.323, allocations: 10.83 kB / 1.456 GB, free: 5.207 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/1.323, allocations: 176.6 kB / 1.456 GB, free: 5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/1.323, allocations: 1.5 kB / 1.456 GB, free: 5 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/1.323, allocations: 4.25 kB / 1.456 GB, free: 5 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/1.323, allocations: 70.7 kB / 1.456 GB, free: 4.961 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.324, allocations: 2.109 kB / 1.456 GB, free: 4.961 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.324, allocations: 3.938 kB / 1.456 GB, free: 4.957 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/1.324, allocations: 1.406 kB / 1.456 GB, free: 4.957 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/1.324, allocations: 80.5 kB / 1.457 GB, free: 4.934 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/1.324, allocations: 282.6 kB / 1.457 GB, free: 4.645 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/1.325, allocations: 55.44 kB / 1.457 GB, free: 4.613 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/1.325, allocations: 41.14 kB / 1.457 GB, free: 4.598 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/1.325, allocations: 89.16 kB / 1.457 GB, free: 4.504 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.325, allocations: 35.56 kB / 1.457 GB, free: 4.461 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1.325, allocations: 0 / 1.457 GB, free: 4.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0006186/1.325, allocations: 129.7 kB / 1.457 GB, free: 4.414 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/1.326, allocations: 52.16 kB / 1.457 GB, free: 4.352 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/1.326, allocations: 117.6 kB / 1.457 GB, free: 4.246 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/1.326, allocations: 26.67 kB / 1.457 GB, free: 4.215 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/1.326, allocations: 88.19 kB / 1.457 GB, free: 4.129 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/1.326, allocations: 14.64 kB / 1.457 GB, free: 4.117 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/1.326, allocations: 16.14 kB / 1.457 GB, free: 4.098 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.326, allocations: 323 kB / 1.458 GB, free: 3.777 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/1.326, allocations: 35.31 kB / 1.458 GB, free: 3.77 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/1.326, allocations: 34.62 kB / 1.458 GB, free: 3.762 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/1.327, allocations: 71.08 kB / 1.458 GB, free: 3.742 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.327, allocations: 0 / 1.458 GB, free: 3.742 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003481/1.327, allocations: 95.19 kB / 1.458 GB, free: 3.703 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.327, allocations: 5.766 kB / 1.458 GB, free: 3.703 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.327, allocations: 1.125 kB / 1.458 GB, free: 3.703 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.327, allocations: 4.656 kB / 1.458 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/1.327, allocations: 23.17 kB / 1.458 GB, free: 3.691 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/1.327, allocations: 1.125 kB / 1.458 GB, free: 3.691 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/1.327, allocations: 20.02 kB / 1.458 GB, free: 3.684 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/1.327, allocations: 1.094 kB / 1.458 GB, free: 3.684 MB / 1.139 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.48e-05/1.327, allocations: 120.5 kB / 1.458 GB, free: 3.559 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/1.327, allocations: 2.766 kB / 1.458 GB, free: 3.559 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/1.328, allocations: 110.7 kB / 1.458 GB, free: 3.496 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/1.328, allocations: 0 / 1.458 GB, free: 3.496 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.328, allocations: 1.156 kB / 1.458 GB, free: 3.496 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.328, allocations: 0 / 1.458 GB, free: 3.496 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/1.328, allocations: 177.3 kB / 1.458 GB, free: 3.293 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.328, allocations: 0 / 1.458 GB, free: 3.293 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/1.328, allocations: 16.11 kB / 1.458 GB, free: 3.293 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.328, allocations: 5.891 kB / 1.458 GB, free: 3.289 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/1.328, allocations: 0 / 1.458 GB, free: 3.289 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.328, allocations: 0 / 1.458 GB, free: 3.289 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.328, allocations: 1.031 kB / 1.458 GB, free: 3.289 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/1.328, allocations: 202.9 kB / 1.459 GB, free: 3.137 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/1.329, allocations: 87.78 kB / 1.459 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/1.329, allocations: 0.5625 kB / 1.459 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/1.329, allocations: 11.59 kB / 1.459 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/1.329, allocations: 4.469 kB / 1.459 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/1.329, allocations: 1.094 kB / 1.459 GB, free: 3.035 MB / 1.139 GB Notification: Performance of sorting global known variables: time 8.448e-05/1.329, allocations: 96.48 kB / 1.459 GB, free: 2.953 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.329, allocations: 0 / 1.459 GB, free: 2.953 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002482/1.329, allocations: 16.53 kB / 1.459 GB, free: 2.949 MB / 1.139 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.0001739/1.329, allocations: 113.2 kB / 1.459 GB, free: 2.855 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003783/1.33, allocations: 70.86 kB / 1.459 GB, free: 2.844 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.33, allocations: 0 / 1.459 GB, free: 2.844 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/1.33, allocations: 34.95 kB / 1.459 GB, free: 2.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/1.33, allocations: 23.19 kB / 1.459 GB, free: 2.824 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/1.331, allocations: 178.6 kB / 1.459 GB, free: 2.668 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/1.331, allocations: 0.6865 MB / 1.46 GB, free: 1.969 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/1.331, allocations: 11.47 kB / 1.46 GB, free: 1.961 MB / 1.139 GB Notification: Performance of SimCode: time 2.81e-07/1.331, allocations: 0 / 1.46 GB, free: 1.961 MB / 1.139 GB Notification: Performance of Templates: time 0.002854/1.334, allocations: 0.9359 MB / 1.461 GB, free: 1.887 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.073395408006036]