Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001055/0.001055, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.542/1.542, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009875/0.0009873, allocations: 98.14 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.836e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3185, allocations: 142.3 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.499/6.817, allocations: 1.922 GB / 3.128 GB, free: 352.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/6.818, allocations: 85.06 kB / 3.128 GB, free: 352.4 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.966/8.783, allocations: 456.3 MB / 3.574 GB, free: 304.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.046e-06/8.783, allocations: 0 / 3.574 GB, free: 304.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001346/8.784, allocations: 18.88 kB / 3.574 GB, free: 304.1 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.006686/8.79, allocations: 1.507 MB / 3.575 GB, free: 303.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/8.79, allocations: 9.969 kB / 3.575 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/8.791, allocations: 164.1 kB / 3.576 GB, free: 303.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/8.793, allocations: 0.632 MB / 3.576 GB, free: 303.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/8.793, allocations: 28.28 kB / 3.576 GB, free: 303.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/8.793, allocations: 52.25 kB / 3.576 GB, free: 303.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002193/8.795, allocations: 1.319 MB / 3.578 GB, free: 303.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/8.797, allocations: 1.042 MB / 3.579 GB, free: 303.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/8.797, allocations: 3.906 kB / 3.579 GB, free: 303.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/8.797, allocations: 3.906 kB / 3.579 GB, free: 303.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.2e-05/8.797, allocations: 45.56 kB / 3.579 GB, free: 303.1 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.005192/8.802, allocations: 3.39 MB / 3.582 GB, free: 301.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/8.804, allocations: 1.377 MB / 3.583 GB, free: 301.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/8.805, allocations: 0.665 MB / 3.584 GB, free: 301.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009042/8.806, allocations: 0.9661 MB / 3.585 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009934/8.807, allocations: 0.6692 MB / 3.586 GB, free: 300.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 3.988e-06/8.807, allocations: 0 / 3.586 GB, free: 300.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.003069/8.81, allocations: 1.415 MB / 3.587 GB, free: 300.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/8.81, allocations: 96.36 kB / 3.587 GB, free: 300.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/8.811, allocations: 0.5134 MB / 3.588 GB, free: 300.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/8.811, allocations: 29.3 kB / 3.588 GB, free: 300.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/8.811, allocations: 383.5 kB / 3.588 GB, free: 300.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/8.812, allocations: 400.3 kB / 3.588 GB, free: 299.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/8.812, allocations: 0 / 3.588 GB, free: 299.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000202/8.812, allocations: 392.5 kB / 3.589 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007302/8.813, allocations: 0.4928 MB / 3.589 GB, free: 299.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/8.814, allocations: 0.681 MB / 3.59 GB, free: 299.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/8.815, allocations: 0.7079 MB / 3.591 GB, free: 299.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/8.815, allocations: 7.109 kB / 3.591 GB, free: 299.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002814/8.818, allocations: 1.535 MB / 3.592 GB, free: 299.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/8.818, allocations: 35.36 kB / 3.592 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/8.818, allocations: 7 kB / 3.592 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.951e-05/8.818, allocations: 7.812 kB / 3.592 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/8.819, allocations: 227.3 kB / 3.592 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.052e-05/8.819, allocations: 14.72 kB / 3.592 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009911/8.82, allocations: 91.41 kB / 3.592 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/8.82, allocations: 53.19 kB / 3.592 GB, free: 299.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0002673/8.821, allocations: 167.3 kB / 3.593 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/8.821, allocations: 94.78 kB / 3.593 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/8.824, allocations: 1.615 MB / 3.594 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/8.824, allocations: 10.47 kB / 3.594 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/8.824, allocations: 0 / 3.594 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/8.824, allocations: 7.75 kB / 3.594 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006465/8.831, allocations: 3.225 MB / 3.597 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/8.831, allocations: 7 kB / 3.597 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/8.832, allocations: 202.7 kB / 3.598 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-05/8.832, allocations: 9.688 kB / 3.598 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/8.832, allocations: 21.02 kB / 3.598 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.897e-05/8.832, allocations: 15.78 kB / 3.598 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/8.832, allocations: 10.28 kB / 3.598 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/8.837, allocations: 2.832 MB / 3.6 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008358/8.838, allocations: 324.8 kB / 3.601 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/8.838, allocations: 11.28 kB / 3.601 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/8.839, allocations: 33.62 kB / 3.601 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/8.839, allocations: 89.89 kB / 3.601 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/8.839, allocations: 49.88 kB / 3.601 GB, free: 297.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007842/8.84, allocations: 413.4 kB / 3.601 GB, free: 297.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/8.84, allocations: 2.344 kB / 3.601 GB, free: 297.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002373/8.842, allocations: 458.8 kB / 3.602 GB, free: 297.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * 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.004192/8.847, allocations: 1.79 MB / 3.604 GB, free: 296.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002619/8.849, allocations: 1.25 MB / 3.605 GB, free: 296.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/8.849, allocations: 3.688 kB / 3.605 GB, free: 296.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/8.85, allocations: 0.6853 MB / 3.605 GB, free: 296.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/8.852, allocations: 218 kB / 3.606 GB, free: 296.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/8.856, allocations: 1.8 MB / 3.607 GB, free: 296.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/8.857, allocations: 1.13 MB / 3.608 GB, free: 295.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001486/8.859, allocations: 411.6 kB / 3.609 GB, free: 295.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/8.859, allocations: 78.16 kB / 3.609 GB, free: 295.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/8.859, allocations: 2.844 kB / 3.609 GB, free: 295.3 MB / 1.151 GB Notification: Performance of Templates: time 0.0414/8.901, allocations: 21 MB / 3.629 GB, free: 294.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches