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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.972/1.972, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 177.3 kB / 490.8 MB, free: 1.914 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.0009014, allocations: 99.34 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.136e-05/1.174e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2364, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6222/0.8586, allocations: 175.9 MB / 1.383 GB, free: 17.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.8589, allocations: 75.58 kB / 1.383 GB, free: 17.02 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.003572/0.8625, allocations: 1.344 MB / 1.385 GB, free: 16.92 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8625, allocations: 1.031 kB / 1.385 GB, free: 16.92 MB / 0.823 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.0002422/0.8627, allocations: 322.1 kB / 1.385 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.8628, allocations: 8.875 kB / 1.385 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.8628, allocations: 1.75 kB / 1.385 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.78e-05/0.8629, allocations: 169.2 kB / 1.385 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.863, allocations: 30.41 kB / 1.385 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.863, allocations: 4.969 kB / 1.385 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.146e-05/0.863, allocations: 4.469 kB / 1.385 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.98e-05/0.8631, allocations: 44.38 kB / 1.385 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.8631, allocations: 0 / 1.385 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.8631, allocations: 0 / 1.385 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8631, allocations: 0 / 1.385 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.8633, allocations: 132.7 kB / 1.385 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.8633, allocations: 28.42 kB / 1.385 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.8634, allocations: 16.75 kB / 1.385 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.8635, allocations: 88.33 kB / 1.386 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.8635, allocations: 33.66 kB / 1.386 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.8635, allocations: 0 / 1.386 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001688/0.8637, allocations: 49.59 kB / 1.386 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.8637, allocations: 53.34 kB / 1.386 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/0.8638, allocations: 95.89 kB / 1.386 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.8638, allocations: 25.7 kB / 1.386 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.8638, allocations: 82.3 kB / 1.386 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.8639, allocations: 9.234 kB / 1.386 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.8639, allocations: 0 / 1.386 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.864, allocations: 312.8 kB / 1.386 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.864, allocations: 9.75 kB / 1.386 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-06/0.864, allocations: 2.406 kB / 1.386 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.8641, allocations: 7.703 kB / 1.386 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8641, allocations: 4.609 kB / 1.386 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.728e-05/0.8642, allocations: 45.02 kB / 1.386 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.8642, allocations: 5.219 kB / 1.386 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8642, allocations: 4.656 kB / 1.386 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8642, allocations: 2.688 kB / 1.386 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.8643, allocations: 6.719 kB / 1.386 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.8643, allocations: 5.453 kB / 1.386 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.8643, allocations: 1.297 kB / 1.386 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.8643, allocations: 1.312 kB / 1.386 GB, free: 31.3 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.8644, allocations: 106.3 kB / 1.386 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.8644, allocations: 5.219 kB / 1.386 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.8645, allocations: 56.47 kB / 1.386 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8646, allocations: 0.8438 kB / 1.386 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.8646, allocations: 0 / 1.386 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.8646, allocations: 1.25 kB / 1.386 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.774e-05/0.8646, allocations: 134.8 kB / 1.387 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.8646, allocations: 1.797 kB / 1.387 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.8647, allocations: 10.3 kB / 1.387 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8647, allocations: 0 / 1.387 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.8647, allocations: 4.75 kB / 1.387 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.8647, allocations: 5.797 kB / 1.387 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8647, allocations: 3.938 kB / 1.387 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.369e-05/0.8648, allocations: 77.7 kB / 1.387 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.8649, allocations: 80.36 kB / 1.387 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.8649, allocations: 1.5 kB / 1.387 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.8649, allocations: 3.156 kB / 1.387 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.865, allocations: 6.969 kB / 1.387 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.865, allocations: 1.562 kB / 1.387 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.961e-05/0.865, allocations: 77.53 kB / 1.387 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001912/0.8652, allocations: 13.42 kB / 1.387 GB, free: 30.72 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002156/0.8654, allocations: 143.5 kB / 1.387 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.836e-05/0.8655, allocations: 17.86 kB / 1.387 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.8655, allocations: 0 / 1.387 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.999e-05/0.8655, allocations: 5.75 kB / 1.387 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.8657, allocations: 13.97 kB / 1.387 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001557/0.8659, allocations: 58.72 kB / 1.387 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.8661, allocations: 0.6866 MB / 1.388 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/0.8661, allocations: 0.8438 kB / 1.388 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of Templates: time 0.002714/0.8688, allocations: 0.7251 MB / 1.388 GB, free: 29.75 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches