Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 489.7 MB / 0.7761 GB, free: 2.414 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.91 kB / 1.127 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 172.1 MB / 1.295 GB, free: 38.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001991/1.068, allocations: 1.28 MB / 1.296 GB, free: 37.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1451/1.213, allocations: 132.4 MB / 1.425 GB, free: 5.535 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/1.213, allocations: 0 / 1.425 GB, free: 5.535 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/1.213, allocations: 0.7031 kB / 1.425 GB, free: 5.535 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/1.213, allocations: 6.016 kB / 1.425 GB, free: 5.531 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000461/1.213, allocations: 62.03 kB / 1.425 GB, free: 5.504 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/1.213, allocations: 24.77 kB / 1.425 GB, free: 5.492 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/1.213, allocations: 6.125 kB / 1.426 GB, free: 5.488 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/1.213, allocations: 6.859 kB / 1.426 GB, free: 5.488 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/1.213, allocations: 9.469 kB / 1.426 GB, free: 5.484 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/1.213, allocations: 1.375 kB / 1.426 GB, free: 5.484 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/1.214, allocations: 17.41 kB / 1.426 GB, free: 5.477 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/1.214, allocations: 2.688 kB / 1.426 GB, free: 5.477 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/1.214, allocations: 9.719 kB / 1.426 GB, free: 5.473 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/1.214, allocations: 24.28 kB / 1.426 GB, free: 5.465 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.214, allocations: 0 / 1.426 GB, free: 5.465 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.272e-06/1.214, allocations: 1.375 kB / 1.426 GB, free: 5.465 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.102e-06/1.214, allocations: 3.938 kB / 1.426 GB, free: 5.461 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004805/1.214, allocations: 337.7 kB / 1.426 GB, free: 5.102 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/1.214, allocations: 9.625 kB / 1.426 GB, free: 5.102 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/1.214, allocations: 7.688 kB / 1.426 GB, free: 5.098 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.215, allocations: 165.7 kB / 1.426 GB, free: 4.898 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/1.215, allocations: 30.28 kB / 1.426 GB, free: 4.867 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/1.215, allocations: 5.75 kB / 1.426 GB, free: 4.863 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/1.215, allocations: 37.55 kB / 1.426 GB, free: 4.832 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.215, allocations: 3.938 kB / 1.426 GB, free: 4.828 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/1.215, allocations: 0 / 1.426 GB, free: 4.828 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.215, allocations: 1.375 kB / 1.426 GB, free: 4.828 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/1.215, allocations: 18.39 kB / 1.426 GB, free: 4.82 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/1.215, allocations: 156.6 kB / 1.426 GB, free: 4.625 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/1.215, allocations: 33.86 kB / 1.426 GB, free: 4.594 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/1.215, allocations: 15.12 kB / 1.426 GB, free: 4.582 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/1.215, allocations: 88.12 kB / 1.426 GB, free: 4.488 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/1.215, allocations: 36.59 kB / 1.426 GB, free: 4.445 MB / 1.123 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.215, allocations: 0 / 1.426 GB, free: 4.445 MB / 1.123 GB Notification: Performance of matching and sorting (n=3): time 0.00026/1.216, allocations: 58.22 kB / 1.427 GB, free: 4.406 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/1.216, allocations: 61.52 kB / 1.427 GB, free: 4.336 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/1.216, allocations: 94.48 kB / 1.427 GB, free: 4.238 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/1.216, allocations: 27.08 kB / 1.427 GB, free: 4.207 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/1.216, allocations: 80.14 kB / 1.427 GB, free: 4.125 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/1.216, allocations: 10.73 kB / 1.427 GB, free: 4.117 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/1.216, allocations: 17.31 kB / 1.427 GB, free: 4.098 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.216, allocations: 312.9 kB / 1.427 GB, free: 3.785 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/1.216, allocations: 9.391 kB / 1.427 GB, free: 3.781 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/1.216, allocations: 6.562 kB / 1.427 GB, free: 3.781 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.142e-05/1.216, allocations: 27.41 kB / 1.427 GB, free: 3.766 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.216, allocations: 0 / 1.427 GB, free: 3.766 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001399/1.216, allocations: 56.84 kB / 1.427 GB, free: 3.723 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.216, allocations: 9.438 kB / 1.427 GB, free: 3.719 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.216, allocations: 3.938 kB / 1.427 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.217, allocations: 2.031 kB / 1.427 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/1.217, allocations: 5.203 kB / 1.427 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.217, allocations: 1.375 kB / 1.427 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/1.217, allocations: 2.594 kB / 1.427 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/1.217, allocations: 4 kB / 1.427 GB, free: 3.711 MB / 1.123 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 0.0001096/1.217, allocations: 110 kB / 1.427 GB, free: 3.598 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/1.217, allocations: 9.312 kB / 1.427 GB, free: 3.59 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/1.217, allocations: 56.84 kB / 1.427 GB, free: 3.547 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.217, allocations: 2.281 kB / 1.427 GB, free: 3.547 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.217, allocations: 3.938 kB / 1.427 GB, free: 3.543 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.217, allocations: 0 / 1.427 GB, free: 3.543 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/1.217, allocations: 156.9 kB / 1.428 GB, free: 3.348 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.217, allocations: 1.25 kB / 1.428 GB, free: 3.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/1.217, allocations: 10.59 kB / 1.428 GB, free: 3.344 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/1.217, allocations: 4.641 kB / 1.428 GB, free: 3.34 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.217, allocations: 4 kB / 1.428 GB, free: 3.336 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.217, allocations: 1.031 kB / 1.428 GB, free: 3.336 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.217, allocations: 8.672 kB / 1.428 GB, free: 3.328 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/1.217, allocations: 73.98 kB / 1.428 GB, free: 3.258 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/1.217, allocations: 85.25 kB / 1.428 GB, free: 3.16 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/1.217, allocations: 3.938 kB / 1.428 GB, free: 3.156 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/1.217, allocations: 2.781 kB / 1.428 GB, free: 3.156 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/1.217, allocations: 7.531 kB / 1.428 GB, free: 3.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/1.217, allocations: 1.594 kB / 1.428 GB, free: 3.152 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.281e-05/1.218, allocations: 77.36 kB / 1.428 GB, free: 3.078 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.218, allocations: 1 kB / 1.428 GB, free: 3.078 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000201/1.218, allocations: 13.42 kB / 1.428 GB, free: 3.074 MB / 1.123 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.0001908/1.218, allocations: 114.8 kB / 1.428 GB, free: 2.977 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001446/1.218, allocations: 16.42 kB / 1.428 GB, free: 2.977 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.218, allocations: 4 kB / 1.428 GB, free: 2.973 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/1.218, allocations: 13.53 kB / 1.428 GB, free: 2.969 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/1.218, allocations: 5.406 kB / 1.428 GB, free: 2.969 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/1.219, allocations: 164.2 kB / 1.428 GB, free: 2.816 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/1.219, allocations: 0.6757 MB / 1.429 GB, free: 2.121 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/1.219, allocations: 8.812 kB / 1.429 GB, free: 2.117 MB / 1.123 GB Notification: Performance of SimCode: time 3.91e-07/1.219, allocations: 0 / 1.429 GB, free: 2.117 MB / 1.123 GB Notification: Performance of Templates: time 0.002411/1.222, allocations: 0.5756 MB / 1.429 GB, free: 2.082 MB / 1.123 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches