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.427/2.427, allocations: 393.5 MB / 408.4 MB, free: 11 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.001157/0.001158, allocations: 175.9 kB / 0.4902 GB, free: 2.242 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.535/1.535, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009489/0.0009494, allocations: 107.2 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 15.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3564, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.85/5.206, allocations: 1.924 GB / 3.153 GB, free: 35.32 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/5.206, allocations: 88.09 kB / 3.153 GB, free: 35.28 MB / 1.167 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.726/6.932, allocations: 462.7 MB / 3.605 GB, free: 45.02 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.824e-06/6.932, allocations: 0 / 3.605 GB, free: 45.02 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.147e-05/6.932, allocations: 20 kB / 3.605 GB, free: 45 MB / 1.167 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.005473/6.938, allocations: 1.642 MB / 3.607 GB, free: 43.29 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/6.938, allocations: 12.03 kB / 3.607 GB, free: 43.28 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009195/6.939, allocations: 162.5 kB / 3.607 GB, free: 43.12 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/6.94, allocations: 0.6522 MB / 3.607 GB, free: 42.43 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/6.94, allocations: 66 kB / 3.608 GB, free: 42.36 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/6.941, allocations: 84 kB / 3.608 GB, free: 42.28 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/6.943, allocations: 1.176 MB / 3.609 GB, free: 41.09 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/6.943, allocations: 7.938 kB / 3.609 GB, free: 41.09 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/6.943, allocations: 39.98 kB / 3.609 GB, free: 41.05 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/6.943, allocations: 45.98 kB / 3.609 GB, free: 41 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/6.945, allocations: 1.475 MB / 3.61 GB, free: 39.52 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005203/6.95, allocations: 3.322 MB / 3.614 GB, free: 36.02 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/6.952, allocations: 1.506 MB / 3.615 GB, free: 34.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/6.953, allocations: 1.54 MB / 3.616 GB, free: 32.63 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/6.954, allocations: 0.7416 MB / 3.617 GB, free: 31.87 MB / 1.167 GB Notification: Performance of pre-optimization done (n=127): time 3.877e-06/6.954, allocations: 3.938 kB / 3.617 GB, free: 31.87 MB / 1.167 GB Notification: Performance of matching and sorting (n=127): time 0.003153/6.957, allocations: 2.074 MB / 3.619 GB, free: 29.76 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/6.958, allocations: 98.11 kB / 3.619 GB, free: 29.64 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009981/6.959, allocations: 0.695 MB / 3.62 GB, free: 28.95 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/6.959, allocations: 45.7 kB / 3.62 GB, free: 28.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/6.959, allocations: 357.3 kB / 3.62 GB, free: 28.54 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/6.959, allocations: 425.8 kB / 3.621 GB, free: 28.12 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/6.959, allocations: 24 kB / 3.621 GB, free: 28.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001613/6.959, allocations: 414.7 kB / 3.621 GB, free: 27.68 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/6.96, allocations: 0.5296 MB / 3.622 GB, free: 27.16 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/6.961, allocations: 0.6446 MB / 3.622 GB, free: 26.49 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/6.962, allocations: 0.6521 MB / 3.623 GB, free: 25.83 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/6.962, allocations: 0 / 3.623 GB, free: 25.83 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002158/6.964, allocations: 1.54 MB / 3.625 GB, free: 24.28 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/6.964, allocations: 37.69 kB / 3.625 GB, free: 24.23 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/6.964, allocations: 7.984 kB / 3.625 GB, free: 24.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/6.964, allocations: 4 kB / 3.625 GB, free: 24.22 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/6.965, allocations: 223.7 kB / 3.625 GB, free: 24 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/6.965, allocations: 7.984 kB / 3.625 GB, free: 24 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009758/6.966, allocations: 134.9 kB / 3.625 GB, free: 23.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/6.966, allocations: 47.98 kB / 3.625 GB, free: 23.82 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Number of clocked 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.0006046/6.967, allocations: 374.4 kB / 3.625 GB, free: 23.44 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/6.967, allocations: 102.8 kB / 3.625 GB, free: 23.34 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/6.97, allocations: 1.697 MB / 3.627 GB, free: 21.62 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/6.97, allocations: 20 kB / 3.627 GB, free: 21.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/6.97, allocations: 0 / 3.627 GB, free: 21.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/6.97, allocations: 7.969 kB / 3.627 GB, free: 21.59 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005444/6.975, allocations: 3.863 MB / 3.631 GB, free: 17.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/6.975, allocations: 8 kB / 3.631 GB, free: 17.53 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/6.976, allocations: 215.7 kB / 3.631 GB, free: 17.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/6.976, allocations: 12 kB / 3.631 GB, free: 17.31 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.2e-05/6.976, allocations: 39.95 kB / 3.631 GB, free: 17.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.626e-05/6.976, allocations: 20.45 kB / 3.631 GB, free: 17.25 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/6.976, allocations: 12 kB / 3.631 GB, free: 17.24 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/6.98, allocations: 3.029 MB / 3.634 GB, free: 13.92 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/6.981, allocations: 343.5 kB / 3.634 GB, free: 13.57 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/6.981, allocations: 32 kB / 3.634 GB, free: 13.54 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009657/6.982, allocations: 71.81 kB / 3.635 GB, free: 13.46 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/6.982, allocations: 96.73 kB / 3.635 GB, free: 13.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/6.982, allocations: 59.98 kB / 3.635 GB, free: 13.31 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007806/6.983, allocations: 0.5459 MB / 3.635 GB, free: 12.77 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/6.983, allocations: 0 / 3.635 GB, free: 12.77 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001934/6.985, allocations: 0.5153 MB / 3.636 GB, free: 12.25 MB / 1.167 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) * Number of clocked states: 0 () * 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.002637/6.987, allocations: 1.622 MB / 3.637 GB, free: 10.57 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001912/6.989, allocations: 1.358 MB / 3.639 GB, free: 9.195 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/6.989, allocations: 0 / 3.639 GB, free: 9.195 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008714/6.99, allocations: 0.7585 MB / 3.639 GB, free: 8.43 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/6.992, allocations: 376.7 kB / 3.64 GB, free: 8.059 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/6.996, allocations: 2.703 MB / 3.642 GB, free: 5.234 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/6.997, allocations: 1.117 MB / 3.643 GB, free: 4.094 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001358/6.998, allocations: 431.7 kB / 3.644 GB, free: 3.668 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/6.999, allocations: 91.42 kB / 3.644 GB, free: 3.578 MB / 1.167 GB Notification: Performance of SimCode: time 9.62e-07/6.999, allocations: 3.938 kB / 3.644 GB, free: 3.574 MB / 1.167 GB Notification: Performance of Templates: time 0.7567/7.755, allocations: 34.51 MB / 3.678 GB, free: 296.6 MB / 1.167 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