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.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.000993/0.000993, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008062/0.0008062, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9013/0.9013, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.513e-06/1.513e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.666e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001682/0.001699, allocations: 1.517 MB / 0.9532 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5233/0.525, allocations: 115.8 MB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.5251, allocations: 0 / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.5251, allocations: 4.406 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.5252, allocations: 15.86 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.5255, allocations: 63.58 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.5256, allocations: 56.39 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.5257, allocations: 12.2 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.5258, allocations: 25.86 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.5258, allocations: 20.58 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.5258, allocations: 7.062 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.5259, allocations: 25.33 kB / 1.067 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.5259, allocations: 14.59 kB / 1.067 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.526, allocations: 15.86 kB / 1.067 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.5261, allocations: 62.62 kB / 1.067 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5261, allocations: 2.344 kB / 1.067 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5261, allocations: 0 / 1.067 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.5261, allocations: 0 / 1.067 GB, free: 42.39 MB / 0.9948 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.0003435/0.5264, allocations: 295.3 kB / 1.067 GB, free: 42.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5265, allocations: 15.84 kB / 1.067 GB, free: 42.12 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.5265, allocations: 7.797 kB / 1.067 GB, free: 42.12 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.899e-05/0.5266, allocations: 112 kB / 1.067 GB, free: 41.99 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.5266, allocations: 1.578 kB / 1.067 GB, free: 41.99 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.5266, allocations: 6.531 kB / 1.067 GB, free: 41.99 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5267, allocations: 71.64 kB / 1.067 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.5267, allocations: 3.062 kB / 1.067 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5268, allocations: 384 / 1.067 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5268, allocations: 384 / 1.067 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.5269, allocations: 76.28 kB / 1.067 GB, free: 41.95 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.5271, allocations: 220.9 kB / 1.067 GB, free: 41.75 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5272, allocations: 56.61 kB / 1.067 GB, free: 41.73 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.5273, allocations: 38.98 kB / 1.067 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.5274, allocations: 15 kB / 1.067 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.5274, allocations: 38.34 kB / 1.068 GB, free: 41.67 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.5274, allocations: 0 / 1.068 GB, free: 41.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0002771/0.5277, allocations: 136.8 kB / 1.068 GB, free: 41.63 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.5277, allocations: 51.41 kB / 1.068 GB, free: 41.57 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.485e-05/0.5278, allocations: 113.5 kB / 1.068 GB, free: 41.47 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.5278, allocations: 28.39 kB / 1.068 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.5278, allocations: 93.41 kB / 1.068 GB, free: 41.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.5278, allocations: 6.109 kB / 1.068 GB, free: 41.35 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.5278, allocations: 15.84 kB / 1.068 GB, free: 41.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.106e-05/0.5279, allocations: 317.7 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.5279, allocations: 29.86 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.528, allocations: 39.06 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.5281, allocations: 63.95 kB / 1.068 GB, free: 41.01 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5281, allocations: 0 / 1.068 GB, free: 41.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001568/0.5283, allocations: 116.5 kB / 1.068 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5283, allocations: 5.094 kB / 1.068 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5283, allocations: 3.938 kB / 1.068 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5283, allocations: 2.562 kB / 1.068 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.5284, allocations: 12.39 kB / 1.069 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.5284, allocations: 1.203 kB / 1.069 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.5284, allocations: 21.59 kB / 1.069 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.5284, allocations: 0 / 1.069 GB, free: 40.96 MB / 0.9948 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 3.843e-05/0.5284, allocations: 115.4 kB / 1.069 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.5285, allocations: 6.844 kB / 1.069 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.5286, allocations: 106.8 kB / 1.069 GB, free: 40.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5286, allocations: 2.25 kB / 1.069 GB, free: 40.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5286, allocations: 0 / 1.069 GB, free: 40.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5286, allocations: 0 / 1.069 GB, free: 40.8 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.921e-05/0.5287, allocations: 111.8 kB / 1.069 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.5287, allocations: 4 kB / 1.069 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.5287, allocations: 18.58 kB / 1.069 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.5287, allocations: 2.875 kB / 1.069 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.5288, allocations: 3.938 kB / 1.069 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.5288, allocations: 0 / 1.069 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5288, allocations: 3.938 kB / 1.069 GB, free: 40.67 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.5289, allocations: 198.9 kB / 1.069 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.5289, allocations: 4 kB / 1.069 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.5289, allocations: 6.781 kB / 1.069 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.529, allocations: 12.34 kB / 1.069 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.529, allocations: 6.141 kB / 1.069 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.529, allocations: 0 / 1.069 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.005e-05/0.529, allocations: 88.89 kB / 1.069 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.529, allocations: 2.812 kB / 1.069 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000156/0.5292, allocations: 15.36 kB / 1.069 GB, free: 40.45 MB / 0.9948 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.0001142/0.5293, allocations: 119.5 kB / 1.069 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.5295, allocations: 64.8 kB / 1.069 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.5295, allocations: 2.906 kB / 1.069 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.5295, allocations: 39.48 kB / 1.069 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.5297, allocations: 16.02 kB / 1.069 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.53, allocations: 172 kB / 1.07 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.53, allocations: 69.16 kB / 1.07 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.5301, allocations: 11.34 kB / 1.07 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of SimCode: time 4.11e-07/0.5301, allocations: 0 / 1.07 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of Templates: time 0.001509/0.5316, allocations: 0.9286 MB / 1.071 GB, free: 40.09 MB / 0.9948 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: 7.050847894512117]