Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.479/2.479, allocations: 390.5 MB / 398 MB, free: 10.95 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.001639/0.001639, allocations: 192.8 kB / 491.2 MB, free: 1.551 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.631/1.631, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001147/0.001147, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.281e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3201, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.487/6.807, allocations: 1.923 GB / 3.135 GB, free: 406.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/6.808, allocations: 84.62 kB / 3.136 GB, free: 406.5 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 1.9/8.708, allocations: 456.3 MB / 3.581 GB, free: 295.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.094e-06/8.708, allocations: 0 / 3.581 GB, free: 295.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001152/8.708, allocations: 18.94 kB / 3.581 GB, free: 295.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.006166/8.714, allocations: 1.51 MB / 3.583 GB, free: 294.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/8.714, allocations: 7.656 kB / 3.583 GB, free: 294.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/8.716, allocations: 159.5 kB / 3.583 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/8.717, allocations: 0.6333 MB / 3.583 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/8.718, allocations: 25.59 kB / 3.583 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/8.718, allocations: 57.89 kB / 3.583 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002844/8.721, allocations: 1.316 MB / 3.585 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/8.723, allocations: 1.046 MB / 3.586 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/8.723, allocations: 3.75 kB / 3.586 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/8.723, allocations: 0 / 3.586 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.639e-05/8.723, allocations: 51.78 kB / 3.586 GB, free: 294.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/8.729, allocations: 3.113 MB / 3.589 GB, free: 293.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/8.731, allocations: 1.424 MB / 3.59 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009365/8.732, allocations: 0.7029 MB / 3.591 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/8.733, allocations: 1.539 MB / 3.592 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/8.735, allocations: 0.6942 MB / 3.593 GB, free: 291.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=127): time 3.597e-06/8.735, allocations: 6.359 kB / 3.593 GB, free: 291.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=127): time 0.003246/8.738, allocations: 1.458 MB / 3.595 GB, free: 291.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/8.738, allocations: 93.39 kB / 3.595 GB, free: 291.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/8.739, allocations: 0.4886 MB / 3.595 GB, free: 291.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.919e-05/8.739, allocations: 25.7 kB / 3.595 GB, free: 291.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/8.739, allocations: 368.8 kB / 3.596 GB, free: 290.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003796/8.74, allocations: 410.7 kB / 3.596 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/8.74, allocations: 2.719 kB / 3.596 GB, free: 290.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001549/8.74, allocations: 394 kB / 3.596 GB, free: 290.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/8.74, allocations: 0.4964 MB / 3.597 GB, free: 290.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/8.741, allocations: 0.6455 MB / 3.597 GB, free: 290.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/8.743, allocations: 0.7194 MB / 3.598 GB, free: 290.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/8.743, allocations: 0 / 3.598 GB, free: 290.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002994/8.746, allocations: 1.534 MB / 3.6 GB, free: 290.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/8.746, allocations: 47.17 kB / 3.6 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/8.746, allocations: 3.906 kB / 3.6 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.63e-05/8.746, allocations: 7 kB / 3.6 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009693/8.747, allocations: 223.6 kB / 3.6 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/8.747, allocations: 11.28 kB / 3.6 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/8.748, allocations: 87.66 kB / 3.6 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/8.748, allocations: 57.8 kB / 3.6 GB, free: 290.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002697/8.749, allocations: 158.5 kB / 3.6 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/8.749, allocations: 90.59 kB / 3.6 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/8.752, allocations: 1.66 MB / 3.602 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/8.752, allocations: 9.375 kB / 3.602 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/8.752, allocations: 1.125 kB / 3.602 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/8.752, allocations: 8.719 kB / 3.602 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/8.759, allocations: 3.588 MB / 3.605 GB, free: 289.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/8.759, allocations: 7.812 kB / 3.605 GB, free: 289.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008916/8.76, allocations: 213.1 kB / 3.606 GB, free: 289.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.918e-05/8.76, allocations: 14.03 kB / 3.606 GB, free: 289.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.654e-05/8.76, allocations: 19.03 kB / 3.606 GB, free: 289.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811e-05/8.76, allocations: 15.14 kB / 3.606 GB, free: 289.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/8.76, allocations: 14.94 kB / 3.606 GB, free: 289.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004419/8.764, allocations: 2.986 MB / 3.609 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/8.765, allocations: 332 kB / 3.609 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/8.765, allocations: 14 kB / 3.609 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/8.766, allocations: 43.34 kB / 3.609 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/8.767, allocations: 93.83 kB / 3.609 GB, free: 287.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/8.767, allocations: 54.73 kB / 3.609 GB, free: 287.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006135/8.767, allocations: 399 kB / 3.609 GB, free: 287.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/8.767, allocations: 0 / 3.609 GB, free: 287.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001928/8.769, allocations: 456.5 kB / 3.61 GB, free: 287.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.003171/8.772, allocations: 1.788 MB / 3.612 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001968/8.774, allocations: 1.282 MB / 3.613 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/8.774, allocations: 3.812 kB / 3.613 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000916/8.775, allocations: 0.7101 MB / 3.614 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/8.777, allocations: 220.6 kB / 3.614 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/8.781, allocations: 1.849 MB / 3.616 GB, free: 286.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/8.781, allocations: 1.12 MB / 3.617 GB, free: 285.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001399/8.783, allocations: 406.6 kB / 3.617 GB, free: 285.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/8.783, allocations: 81.27 kB / 3.617 GB, free: 285.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.533e-06/8.783, allocations: 0 / 3.617 GB, free: 285.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04027/8.823, allocations: 21.07 MB / 3.638 GB, free: 285.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorPressure.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches