Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001723, allocations: 100.1 kB / 15.88 MB, free: 12 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.002237/0.002237, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.6301, allocations: 140.3 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00238/0.6326, allocations: 1.335 MB / 0.9509 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1337/0.7663, allocations: 129.9 MB / 1.078 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.7663, allocations: 0 / 1.078 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.7664, allocations: 0 / 1.078 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.7665, allocations: 3.938 kB / 1.078 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.7668, allocations: 51.8 kB / 1.078 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.961e-05/0.7669, allocations: 27.84 kB / 1.078 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.767, allocations: 7.938 kB / 1.078 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.767, allocations: 7.984 kB / 1.078 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.7671, allocations: 4 kB / 1.078 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.7671, allocations: 0 / 1.078 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.7672, allocations: 15.98 kB / 1.078 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.7672, allocations: 3.938 kB / 1.078 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.7672, allocations: 8 kB / 1.078 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.42e-05/0.7673, allocations: 21.95 kB / 1.078 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7673, allocations: 0 / 1.078 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.42e-07/0.7674, allocations: 4 kB / 1.078 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.7674, allocations: 0 / 1.078 GB, free: 14.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004011/0.7678, allocations: 339.4 kB / 1.078 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.7678, allocations: 8.031 kB / 1.078 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.7679, allocations: 4.938 kB / 1.078 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.768, allocations: 172.3 kB / 1.078 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.7681, allocations: 30.27 kB / 1.078 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.7681, allocations: 384 / 1.078 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.7682, allocations: 50.23 kB / 1.078 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7682, allocations: 3.938 kB / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7683, allocations: 0 / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.7683, allocations: 0 / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.7684, allocations: 11.98 kB / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.7685, allocations: 157.7 kB / 1.079 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.896e-05/0.7686, allocations: 26.52 kB / 1.079 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.7687, allocations: 20.94 kB / 1.079 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.7689, allocations: 89.09 kB / 1.079 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.7689, allocations: 34.56 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.7689, allocations: 0 / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002362/0.7691, allocations: 57.53 kB / 1.079 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.7692, allocations: 67.33 kB / 1.079 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.7693, allocations: 97.8 kB / 1.079 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.7693, allocations: 25.7 kB / 1.079 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.7693, allocations: 80.14 kB / 1.079 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.7694, allocations: 15.84 kB / 1.079 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.7694, allocations: 13.72 kB / 1.079 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.7695, allocations: 314.8 kB / 1.079 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.696e-05/0.7696, allocations: 8 kB / 1.079 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.7696, allocations: 11.98 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.7697, allocations: 20.86 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7697, allocations: 3.984 kB / 1.079 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/0.7698, allocations: 45.69 kB / 1.08 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7699, allocations: 10.12 kB / 1.08 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7699, allocations: 3.938 kB / 1.08 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.7699, allocations: 4 kB / 1.08 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.77, allocations: 4 kB / 1.08 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.77, allocations: 4 kB / 1.08 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.77, allocations: 7.922 kB / 1.08 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.77, allocations: 4.516 kB / 1.08 GB, free: 12.34 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 6.814e-05/0.7701, allocations: 105.8 kB / 1.08 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.7701, allocations: 7.844 kB / 1.08 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.7703, allocations: 69.14 kB / 1.08 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7703, allocations: 0 / 1.08 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7703, allocations: 0 / 1.08 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7703, allocations: 4 kB / 1.08 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.7704, allocations: 153.7 kB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7704, allocations: 4 kB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.7705, allocations: 7.938 kB / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7705, allocations: 7.938 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.7705, allocations: 0 / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7705, allocations: 0 / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7705, allocations: 0 / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.7707, allocations: 81.11 kB / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.7707, allocations: 77.11 kB / 1.08 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.7708, allocations: 3.938 kB / 1.08 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.04e-05/0.7708, allocations: 4 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.7708, allocations: 3.984 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.7708, allocations: 0 / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.7709, allocations: 79.28 kB / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7709, allocations: 0 / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001905/0.7711, allocations: 8 kB / 1.08 GB, free: 11.62 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.0001553/0.7712, allocations: 119.2 kB / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.7714, allocations: 15.98 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7714, allocations: 3.938 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.7714, allocations: 15.98 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.7717, allocations: 4 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.772, allocations: 173.3 kB / 1.08 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.7722, allocations: 0.6731 MB / 1.081 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.7722, allocations: 11.44 kB / 1.081 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.7722, allocations: 0 / 1.081 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.001836/0.7741, allocations: 0.5666 MB / 1.082 GB, free: 9.984 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches