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.638/2.638, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001281/0.001281, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.6/1.6, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0008923/0.0008923, allocations: 94.69 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.037e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.105/6.412, allocations: 1.923 GB / 3.135 GB, free: 419.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/6.412, allocations: 83.95 kB / 3.135 GB, free: 419.2 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.872/8.284, allocations: 462.3 MB / 3.587 GB, free: 293 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.235e-06/8.284, allocations: 0 / 3.587 GB, free: 293 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.088e-05/8.284, allocations: 22.41 kB / 3.587 GB, free: 293 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.005189/8.29, allocations: 1.511 MB / 3.588 GB, free: 292.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/8.29, allocations: 10.03 kB / 3.588 GB, free: 292.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009299/8.291, allocations: 162.9 kB / 3.589 GB, free: 292.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/8.292, allocations: 0.6326 MB / 3.589 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/8.292, allocations: 68.56 kB / 3.589 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/8.293, allocations: 94.33 kB / 3.589 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/8.295, allocations: 1.164 MB / 3.591 GB, free: 292 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/8.295, allocations: 5.469 kB / 3.591 GB, free: 292 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/8.295, allocations: 34.31 kB / 3.591 GB, free: 292 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.003e-05/8.295, allocations: 48.25 kB / 3.591 GB, free: 292 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/8.298, allocations: 1.444 MB / 3.592 GB, free: 292 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.006767/8.305, allocations: 3.601 MB / 3.596 GB, free: 290.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/8.307, allocations: 1.441 MB / 3.597 GB, free: 290.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008985/8.308, allocations: 0.7006 MB / 3.598 GB, free: 290.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007973/8.308, allocations: 0.9623 MB / 3.599 GB, free: 289.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009388/8.309, allocations: 0.7099 MB / 3.599 GB, free: 289.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 3.597e-06/8.309, allocations: 0 / 3.599 GB, free: 289.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.002447/8.312, allocations: 1.402 MB / 3.601 GB, free: 289.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/8.312, allocations: 99.42 kB / 3.601 GB, free: 289.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/8.313, allocations: 0.7397 MB / 3.601 GB, free: 289.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/8.313, allocations: 47.44 kB / 3.601 GB, free: 289.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/8.313, allocations: 365.2 kB / 3.602 GB, free: 288.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/8.314, allocations: 410.2 kB / 3.602 GB, free: 288.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/8.314, allocations: 21.09 kB / 3.602 GB, free: 288.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001038/8.314, allocations: 352.3 kB / 3.603 GB, free: 288.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007595/8.315, allocations: 0.5143 MB / 3.603 GB, free: 288.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008572/8.315, allocations: 0.6643 MB / 3.604 GB, free: 288.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008603/8.316, allocations: 0.6471 MB / 3.604 GB, free: 288.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/8.316, allocations: 0 / 3.604 GB, free: 288.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002379/8.319, allocations: 1.529 MB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/8.319, allocations: 39.86 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/8.319, allocations: 3.906 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/8.319, allocations: 13.28 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/8.32, allocations: 223.6 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/8.32, allocations: 7.312 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/8.321, allocations: 132.3 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/8.321, allocations: 58.17 kB / 3.606 GB, free: 288.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002394/8.321, allocations: 198.2 kB / 3.607 GB, free: 287.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/8.321, allocations: 116.5 kB / 3.607 GB, free: 287.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/8.324, allocations: 1.643 MB / 3.608 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/8.324, allocations: 8.875 kB / 3.608 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/8.324, allocations: 0 / 3.608 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/8.324, allocations: 10.69 kB / 3.608 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/8.329, allocations: 3.411 MB / 3.612 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.659e-06/8.329, allocations: 6.844 kB / 3.612 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/8.33, allocations: 203.6 kB / 3.612 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-05/8.33, allocations: 11.31 kB / 3.612 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/8.33, allocations: 40.17 kB / 3.612 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/8.33, allocations: 14.19 kB / 3.612 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/8.33, allocations: 7.75 kB / 3.612 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/8.334, allocations: 2.853 MB / 3.615 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/8.335, allocations: 342.5 kB / 3.615 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/8.335, allocations: 34.59 kB / 3.615 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/8.336, allocations: 55.22 kB / 3.615 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/8.336, allocations: 90.48 kB / 3.615 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/8.336, allocations: 49.78 kB / 3.615 GB, free: 286.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008179/8.337, allocations: 0.5912 MB / 3.616 GB, free: 286 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.337, allocations: 0 / 3.616 GB, free: 286 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001992/8.339, allocations: 0.5109 MB / 3.616 GB, free: 285.9 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.002893/8.342, allocations: 1.614 MB / 3.618 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002134/8.344, allocations: 1.314 MB / 3.619 GB, free: 285.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/8.344, allocations: 0 / 3.619 GB, free: 285.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008835/8.345, allocations: 0.721 MB / 3.62 GB, free: 285.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/8.347, allocations: 416.4 kB / 3.62 GB, free: 285.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/8.351, allocations: 1.909 MB / 3.622 GB, free: 284.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/8.352, allocations: 1.126 MB / 3.623 GB, free: 284.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001492/8.353, allocations: 437 kB / 3.624 GB, free: 284.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/8.354, allocations: 89 kB / 3.624 GB, free: 284.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.475e-06/8.354, allocations: 0 / 3.624 GB, free: 284.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06806/8.422, allocations: 39.43 MB / 3.662 GB, free: 282.8 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