Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 192.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 71.88 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8743/0.8757, allocations: 140.4 MB / 0.9496 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003996/0.8798, allocations: 1.491 MB / 0.951 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.273/1.153, allocations: 132.1 MB / 1.08 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/1.153, allocations: 0 / 1.08 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.676e-05/1.153, allocations: 7.938 kB / 1.08 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/1.153, allocations: 15.86 kB / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/1.154, allocations: 59.72 kB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/1.154, allocations: 55.78 kB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/1.154, allocations: 13.97 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/1.154, allocations: 19.92 kB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/1.154, allocations: 39.83 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/1.155, allocations: 4 kB / 1.08 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/1.155, allocations: 12 kB / 1.08 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/1.155, allocations: 11.98 kB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/1.155, allocations: 19.88 kB / 1.08 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/1.155, allocations: 59.81 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.155, allocations: 0 / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/1.155, allocations: 0 / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.814e-06/1.155, allocations: 0 / 1.08 GB, free: 11.46 MB / 0.8419 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.0008953/1.156, allocations: 379.3 kB / 1.081 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.156, allocations: 8.031 kB / 1.081 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/1.156, allocations: 12.78 kB / 1.081 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/1.156, allocations: 172.3 kB / 1.081 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/1.156, allocations: 8.312 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/1.156, allocations: 4.375 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/1.157, allocations: 74.2 kB / 1.081 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.157, allocations: 192 / 1.081 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/1.157, allocations: 7.938 kB / 1.081 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.157, allocations: 0 / 1.081 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/1.157, allocations: 71.86 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/1.158, allocations: 280.7 kB / 1.081 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/1.158, allocations: 62.62 kB / 1.081 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/1.159, allocations: 36.81 kB / 1.081 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/1.159, allocations: 93.09 kB / 1.081 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.159, allocations: 38.5 kB / 1.082 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/1.159, allocations: 0 / 1.082 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0008644/1.16, allocations: 129.5 kB / 1.082 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/1.16, allocations: 51.41 kB / 1.082 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/1.16, allocations: 121.8 kB / 1.082 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/1.16, allocations: 25.7 kB / 1.082 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/1.16, allocations: 88.14 kB / 1.082 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/1.16, allocations: 11.89 kB / 1.082 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/1.16, allocations: 13.72 kB / 1.082 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.16, allocations: 318.8 kB / 1.082 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/1.161, allocations: 31.95 kB / 1.082 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/1.161, allocations: 35.97 kB / 1.082 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/1.161, allocations: 72.72 kB / 1.082 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.161, allocations: 0 / 1.082 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005585/1.162, allocations: 101.5 kB / 1.082 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.162, allocations: 4 kB / 1.082 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/1.162, allocations: 0 / 1.082 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.162, allocations: 0 / 1.082 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/1.162, allocations: 19.97 kB / 1.082 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.162, allocations: 0 / 1.082 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/1.162, allocations: 15.92 kB / 1.083 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/1.162, allocations: 0 / 1.083 GB, free: 8.973 MB / 0.8419 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.0001274/1.163, allocations: 125.7 kB / 1.083 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/1.163, allocations: 3.906 kB / 1.083 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/1.163, allocations: 109.5 kB / 1.083 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.163, allocations: 0 / 1.083 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.163, allocations: 4 kB / 1.083 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.163, allocations: 3.938 kB / 1.083 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/1.164, allocations: 181.6 kB / 1.083 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.164, allocations: 0 / 1.083 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/1.164, allocations: 19.97 kB / 1.083 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.164, allocations: 0 / 1.083 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/1.164, allocations: 0 / 1.083 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.164, allocations: 4 kB / 1.083 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.164, allocations: 0 / 1.083 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/1.164, allocations: 203.7 kB / 1.083 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/1.164, allocations: 81.02 kB / 1.083 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/1.164, allocations: 4.031 kB / 1.083 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/1.165, allocations: 15.97 kB / 1.083 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/1.165, allocations: 0 / 1.083 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/1.165, allocations: 4 kB / 1.083 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.795e-05/1.165, allocations: 99.27 kB / 1.083 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.31e-07/1.165, allocations: 0 / 1.083 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004138/1.165, allocations: 12 kB / 1.083 GB, free: 8.012 MB / 0.8419 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.0002743/1.166, allocations: 111.2 kB / 1.083 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005132/1.166, allocations: 67.86 kB / 1.084 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.166, allocations: 4 kB / 1.084 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/1.166, allocations: 39.95 kB / 1.084 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/1.167, allocations: 11.94 kB / 1.084 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/1.167, allocations: 155.8 kB / 1.084 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/1.168, allocations: 0.6844 MB / 1.084 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.412e-05/1.168, allocations: 12.22 kB / 1.084 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/1.168, allocations: 11.44 kB / 1.084 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/1.168, allocations: 3.938 kB / 1.084 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of Templates: time 0.005931/1.174, allocations: 0.9926 MB / 1.085 GB, free: 5.879 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches