Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001255/0.001255, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.554/1.554, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009334/0.0009335, allocations: 99.45 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.799e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3135, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.938/6.252, allocations: 1.923 GB / 3.136 GB, free: 385.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/6.252, allocations: 80.73 kB / 3.136 GB, free: 385.6 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.89/8.142, allocations: 462.3 MB / 3.587 GB, free: 299.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/8.142, allocations: 3.375 kB / 3.587 GB, free: 299.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.981e-05/8.142, allocations: 24.03 kB / 3.587 GB, free: 299.5 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.004114/8.146, allocations: 1.51 MB / 3.589 GB, free: 298.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/8.147, allocations: 10.5 kB / 3.589 GB, free: 298.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/8.147, allocations: 136.2 kB / 3.589 GB, free: 298.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006373/8.147, allocations: 162.7 kB / 3.589 GB, free: 298.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/8.149, allocations: 0.6317 MB / 3.589 GB, free: 298.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/8.149, allocations: 74.02 kB / 3.59 GB, free: 298.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/8.149, allocations: 94.98 kB / 3.59 GB, free: 298.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/8.151, allocations: 1.157 MB / 3.591 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/8.151, allocations: 7.75 kB / 3.591 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/8.151, allocations: 39.39 kB / 3.591 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/8.151, allocations: 49.02 kB / 3.591 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/8.153, allocations: 1.451 MB / 3.592 GB, free: 298.4 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.005284/8.158, allocations: 3.321 MB / 3.596 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/8.16, allocations: 1.481 MB / 3.597 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009442/8.161, allocations: 0.7389 MB / 3.598 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/8.162, allocations: 1.544 MB / 3.599 GB, free: 295.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/8.164, allocations: 0.7275 MB / 3.6 GB, free: 295.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=127): time 3.316e-06/8.164, allocations: 0 / 3.6 GB, free: 295.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=127): time 0.002607/8.166, allocations: 1.441 MB / 3.601 GB, free: 295.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/8.166, allocations: 102.4 kB / 3.601 GB, free: 295.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/8.167, allocations: 0.6762 MB / 3.602 GB, free: 295.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/8.167, allocations: 54.02 kB / 3.602 GB, free: 295.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/8.168, allocations: 356.7 kB / 3.602 GB, free: 295 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/8.168, allocations: 419.2 kB / 3.603 GB, free: 294.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/8.168, allocations: 26.75 kB / 3.603 GB, free: 294.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001687/8.168, allocations: 410.2 kB / 3.603 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007375/8.169, allocations: 0.5205 MB / 3.604 GB, free: 294.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/8.17, allocations: 0.6403 MB / 3.604 GB, free: 294.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/8.171, allocations: 0.6422 MB / 3.605 GB, free: 294.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/8.171, allocations: 3.594 kB / 3.605 GB, free: 294.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002315/8.173, allocations: 1.528 MB / 3.607 GB, free: 294.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/8.173, allocations: 34.23 kB / 3.607 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/8.173, allocations: 0 / 3.607 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/8.173, allocations: 7.438 kB / 3.607 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/8.174, allocations: 224.4 kB / 3.607 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/8.174, allocations: 7.938 kB / 3.607 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000983/8.175, allocations: 123.6 kB / 3.607 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/8.175, allocations: 52.98 kB / 3.607 GB, free: 294.1 MB / 1.151 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 () * 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.0002591/8.176, allocations: 199 kB / 3.607 GB, free: 294 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/8.176, allocations: 107.2 kB / 3.607 GB, free: 293.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/8.179, allocations: 1.695 MB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/8.179, allocations: 11.53 kB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/8.179, allocations: 3.281 kB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/8.179, allocations: 3.656 kB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/8.184, allocations: 3.85 MB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/8.184, allocations: 7.469 kB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/8.185, allocations: 216.5 kB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/8.185, allocations: 13.09 kB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/8.185, allocations: 38.89 kB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.746e-05/8.185, allocations: 18.41 kB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/8.185, allocations: 6.844 kB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/8.189, allocations: 3.007 MB / 3.616 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008373/8.19, allocations: 343 kB / 3.616 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/8.19, allocations: 31.72 kB / 3.616 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/8.191, allocations: 61.55 kB / 3.616 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/8.191, allocations: 109.2 kB / 3.616 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.342e-05/8.191, allocations: 48.78 kB / 3.616 GB, free: 291.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007167/8.192, allocations: 0.548 MB / 3.617 GB, free: 291.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.192, allocations: 0 / 3.617 GB, free: 291.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001733/8.194, allocations: 0.5196 MB / 3.618 GB, free: 291.7 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.006548/8.2, allocations: 6.925 MB / 3.624 GB, free: 287.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002/8.202, allocations: 1.34 MB / 3.626 GB, free: 287.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/8.202, allocations: 3.906 kB / 3.626 GB, free: 287.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009117/8.203, allocations: 0.7442 MB / 3.626 GB, free: 287.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/8.205, allocations: 393.5 kB / 3.627 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/8.209, allocations: 2.236 MB / 3.629 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/8.21, allocations: 1.123 MB / 3.63 GB, free: 285.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001311/8.211, allocations: 433.4 kB / 3.63 GB, free: 285.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005307/8.212, allocations: 364.6 kB / 3.631 GB, free: 285.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/8.212, allocations: 0 / 3.631 GB, free: 285.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08885/8.301, allocations: 52.89 MB / 3.682 GB, free: 261.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/8.301, allocations: 197.4 kB / 3.683 GB, free: 261.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.186/12.49, allocations: 4 kB / 3.683 GB, free: 261.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat does not exist to compare? outputFormat=mat