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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 110 kB / 18.93 MB, free: 2.945 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.001595/0.001595, allocations: 186.4 kB / 22.23 MB, free: 5.16 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.306/1.306, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.85/2.85, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=2500,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=2500,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.001885/0.001885, allocations: 68.58 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2842, allocations: 174.9 MB / 1.316 GB, free: 9.727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002253/0.2865, allocations: 1.286 MB / 1.317 GB, free: 8.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1455/0.432, allocations: 132.4 MB / 1.447 GB, free: 3.5 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.432, allocations: 0 / 1.447 GB, free: 3.5 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.432, allocations: 0 / 1.447 GB, free: 3.5 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.432, allocations: 7.938 kB / 1.447 GB, free: 3.492 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.4324, allocations: 59.66 kB / 1.447 GB, free: 3.434 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.4325, allocations: 27.86 kB / 1.447 GB, free: 3.406 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.4325, allocations: 3.984 kB / 1.447 GB, free: 3.402 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.4325, allocations: 8 kB / 1.447 GB, free: 3.395 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.4326, allocations: 11.81 kB / 1.447 GB, free: 3.387 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.4326, allocations: 0 / 1.447 GB, free: 3.387 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.4327, allocations: 16 kB / 1.447 GB, free: 3.371 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.4327, allocations: 0 / 1.447 GB, free: 3.371 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.4327, allocations: 19.92 kB / 1.447 GB, free: 3.352 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 9.806e-05/0.4328, allocations: 23.91 kB / 1.447 GB, free: 3.328 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4328, allocations: 0 / 1.447 GB, free: 3.328 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4328, allocations: 0 / 1.447 GB, free: 3.328 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.4328, allocations: 0 / 1.447 GB, free: 3.328 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003626/0.4332, allocations: 254.3 kB / 1.447 GB, free: 3.047 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.4332, allocations: 15.97 kB / 1.447 GB, free: 3.031 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.4332, allocations: 4.891 kB / 1.447 GB, free: 3.027 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.446e-05/0.4333, allocations: 110.5 kB / 1.447 GB, free: 2.895 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.4334, allocations: 30.27 kB / 1.447 GB, free: 2.859 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.4334, allocations: 4.375 kB / 1.447 GB, free: 2.855 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.4335, allocations: 42.23 kB / 1.447 GB, free: 2.809 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4335, allocations: 3.938 kB / 1.447 GB, free: 2.805 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.4335, allocations: 0 / 1.447 GB, free: 2.805 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4335, allocations: 4 kB / 1.447 GB, free: 2.801 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.4336, allocations: 7.938 kB / 1.447 GB, free: 2.793 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.4338, allocations: 132.6 kB / 1.447 GB, free: 2.621 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.4339, allocations: 42.59 kB / 1.447 GB, free: 2.57 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.4339, allocations: 8.859 kB / 1.447 GB, free: 2.559 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.434, allocations: 12.08 kB / 1.447 GB, free: 2.547 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4341, allocations: 34.56 kB / 1.447 GB, free: 2.504 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4341, allocations: 0 / 1.447 GB, free: 2.504 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0002213/0.4343, allocations: 69.55 kB / 1.447 GB, free: 2.43 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.4343, allocations: 51.41 kB / 1.448 GB, free: 2.367 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.4344, allocations: 101.8 kB / 1.448 GB, free: 2.258 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.4344, allocations: 25.7 kB / 1.448 GB, free: 2.227 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.4344, allocations: 80.14 kB / 1.448 GB, free: 2.145 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4345, allocations: 7.906 kB / 1.448 GB, free: 2.137 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.4345, allocations: 17.72 kB / 1.448 GB, free: 2.113 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4346, allocations: 314.8 kB / 1.448 GB, free: 1.797 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.4347, allocations: 7.984 kB / 1.448 GB, free: 1.789 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.4347, allocations: 8 kB / 1.448 GB, free: 1.781 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.772e-05/0.4348, allocations: 20.84 kB / 1.448 GB, free: 1.758 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4348, allocations: 0 / 1.448 GB, free: 1.758 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001209/0.4349, allocations: 53.62 kB / 1.448 GB, free: 1.699 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4349, allocations: 7.938 kB / 1.448 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4349, allocations: 3.984 kB / 1.448 GB, free: 1.688 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.435, allocations: 4 kB / 1.448 GB, free: 1.684 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.435, allocations: 8 kB / 1.448 GB, free: 1.676 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.435, allocations: 0 / 1.448 GB, free: 1.676 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.4351, allocations: 0 / 1.448 GB, free: 1.676 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4351, allocations: 4 kB / 1.448 GB, free: 1.672 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 7.609e-05/0.4351, allocations: 114.3 kB / 1.448 GB, free: 1.551 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.4351, allocations: 3.938 kB / 1.448 GB, free: 1.547 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.4353, allocations: 57.3 kB / 1.448 GB, free: 1.477 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4353, allocations: 8 kB / 1.448 GB, free: 1.469 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.4353, allocations: 0 / 1.448 GB, free: 1.469 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.4353, allocations: 0 / 1.448 GB, free: 1.469 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.4354, allocations: 128.7 kB / 1.448 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4354, allocations: 0 / 1.448 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.4355, allocations: 7.984 kB / 1.448 GB, free: 1.293 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4355, allocations: 3.938 kB / 1.448 GB, free: 1.289 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.4355, allocations: 4 kB / 1.448 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4355, allocations: 8 kB / 1.449 GB, free: 1.277 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4355, allocations: 0.5625 kB / 1.449 GB, free: 1.277 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.4356, allocations: 69.12 kB / 1.449 GB, free: 1.191 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.4356, allocations: 12.02 kB / 1.449 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.4357, allocations: 3.938 kB / 1.449 GB, free: 1.176 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.4357, allocations: 7.938 kB / 1.449 GB, free: 1.168 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.4357, allocations: 7.938 kB / 1.449 GB, free: 1.16 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.4357, allocations: 0 / 1.449 GB, free: 1.16 MB / 1.139 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.4358, allocations: 83.27 kB / 1.449 GB, free: 1.078 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4358, allocations: 4 kB / 1.449 GB, free: 1.074 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001892/0.436, allocations: 11.94 kB / 1.449 GB, free: 1.062 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.0001278/0.4361, allocations: 103.2 kB / 1.449 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.4362, allocations: 19.98 kB / 1.449 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4362, allocations: 0 / 1.449 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.4363, allocations: 8 kB / 1.449 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.4365, allocations: 21.98 kB / 1.449 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.4367, allocations: 132 kB / 1.449 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.437, allocations: 0.6768 MB / 1.45 GB, free: 44 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.437, allocations: 7.984 kB / 1.45 GB, free: 36 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.437, allocations: 11.44 kB / 1.45 GB, free: 24 kB / 1.139 GB Notification: Performance of SimCode: time 2.8e-07/0.437, allocations: 0 / 1.45 GB, free: 24 kB / 1.139 GB Notification: Performance of Templates: time 0.002608/0.4397, allocations: 0.5282 MB / 1.45 GB, free: 15.5 MB / 1.154 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 800] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 7.970968366600573]