Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") [: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.804/1.804, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.000962/0.0009621, allocations: 183 kB / 490.8 MB, free: 1.941 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.126/1.126, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0008491/0.0008491, allocations: 91.42 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.35e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1857, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5321/0.7179, allocations: 151.5 MB / 1.36 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.7181, allocations: 81 kB / 1.36 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01395/0.7321, allocations: 5.006 MB / 1.365 GB, free: 17.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7321, allocations: 3.312 kB / 1.365 GB, free: 17.2 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.0004418/0.7325, allocations: 452.5 kB / 1.365 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.7326, allocations: 9.625 kB / 1.365 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.7326, allocations: 19.72 kB / 1.365 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.7331, allocations: 431.7 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.7332, allocations: 3.938 kB / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.7332, allocations: 3.891 kB / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.356e-05/0.7333, allocations: 56.92 kB / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.358e-05/0.7334, allocations: 62.09 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.7334, allocations: 0 / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.7334, allocations: 3.906 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7334, allocations: 1.312 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.7337, allocations: 280.5 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.7339, allocations: 105.3 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.734, allocations: 37.81 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.734, allocations: 12.97 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.122e-05/0.734, allocations: 38.02 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.734, allocations: 0 / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002178/0.7342, allocations: 105.5 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.637e-05/0.7343, allocations: 52.91 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.7347, allocations: 461.3 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.7347, allocations: 27.08 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.7348, allocations: 98.94 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.7348, allocations: 14.27 kB / 1.367 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.7348, allocations: 0 / 1.367 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.7349, allocations: 328.8 kB / 1.367 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.735, allocations: 26 kB / 1.367 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.735, allocations: 53.23 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.7351, allocations: 31.86 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7351, allocations: 4.031 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001621/0.7353, allocations: 107.3 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.7353, allocations: 7.094 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.7353, allocations: 1.312 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.7353, allocations: 192 / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.7354, allocations: 16.75 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.7354, allocations: 1.312 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.7355, allocations: 15.2 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.7356, allocations: 9.484 kB / 1.367 GB, free: 31.56 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.522e-05/0.7356, allocations: 112.5 kB / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.7357, allocations: 15.44 kB / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.7359, allocations: 148.3 kB / 1.368 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7359, allocations: 4 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.7359, allocations: 1.125 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.736, allocations: 0 / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.7361, allocations: 212.7 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7361, allocations: 0 / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-05/0.7362, allocations: 16.5 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.7362, allocations: 5.062 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.7362, allocations: 1.031 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7362, allocations: 9 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7362, allocations: 0 / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001629/0.7364, allocations: 137.7 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.7365, allocations: 129.3 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.7366, allocations: 1.359 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.7367, allocations: 15.58 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.7367, allocations: 9.578 kB / 1.368 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.7367, allocations: 6.688 kB / 1.368 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003226/0.7371, allocations: 370.5 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000326/0.7374, allocations: 90.48 kB / 1.368 GB, free: 30.94 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.0002484/0.7376, allocations: 168.9 kB / 1.369 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.7378, allocations: 47.38 kB / 1.369 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7378, allocations: 0 / 1.369 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.7378, allocations: 34.5 kB / 1.369 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.738, allocations: 9.344 kB / 1.369 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.7383, allocations: 208.6 kB / 1.369 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.7387, allocations: 0.7874 MB / 1.37 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.7387, allocations: 1.156 kB / 1.37 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of Templates: time 0.005388/0.7441, allocations: 2.784 MB / 1.372 GB, free: 29.75 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches