Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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.402/2.402, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001054/0.001054, allocations: 171.1 kB / 492.3 MB, free: 0.6133 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.768/1.768, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009415/0.0009413, allocations: 98.78 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.852e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3035, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.92/6.223, allocations: 1.936 GB / 3.148 GB, free: 393.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/6.224, allocations: 87.95 kB / 3.148 GB, free: 393.7 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 6.377/12.6, allocations: 1.673 GB / 4.821 GB, free: 12.36 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.844e-06/12.6, allocations: 0 / 4.821 GB, free: 12.36 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.000303/12.6, allocations: 71.92 kB / 4.821 GB, free: 12.29 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01331/12.61, allocations: 3.236 MB / 4.825 GB, free: 8.996 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/12.61, allocations: 8.031 kB / 4.825 GB, free: 8.988 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001597/12.62, allocations: 349.9 kB / 4.825 GB, free: 8.637 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00667/12.62, allocations: 0.7966 MB / 4.826 GB, free: 7.836 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/12.63, allocations: 1.693 MB / 4.827 GB, free: 6.086 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/12.63, allocations: 184.8 kB / 4.828 GB, free: 5.902 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/12.63, allocations: 251.9 kB / 4.828 GB, free: 5.656 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008244/12.64, allocations: 2.971 MB / 4.831 GB, free: 2.562 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/12.64, allocations: 7.906 kB / 4.831 GB, free: 2.555 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007545/12.64, allocations: 100 kB / 4.831 GB, free: 2.457 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/12.64, allocations: 112.7 kB / 4.831 GB, free: 2.344 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006535/12.65, allocations: 2.658 MB / 4.834 GB, free: 15.67 MB / 1.198 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.02008/12.67, allocations: 12.39 MB / 4.846 GB, free: 2.215 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/12.67, allocations: 2.093 MB / 4.848 GB, free: 36 kB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/12.67, allocations: 1.214 MB / 4.849 GB, free: 14.83 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/12.67, allocations: 1.375 MB / 4.85 GB, free: 13.16 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/12.67, allocations: 52.56 kB / 4.85 GB, free: 13.1 MB / 1.214 GB Notification: Performance of pre-optimization done (n=197): time 4.528e-06/12.67, allocations: 7.938 kB / 4.85 GB, free: 13.09 MB / 1.214 GB Notification: Performance of matching and sorting (n=197): time 0.004345/12.68, allocations: 1.989 MB / 4.852 GB, free: 11.09 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/12.68, allocations: 77.39 kB / 4.852 GB, free: 11.01 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/12.68, allocations: 1.123 MB / 4.853 GB, free: 9.879 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/12.68, allocations: 61.7 kB / 4.853 GB, free: 9.812 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/12.68, allocations: 0.9556 MB / 4.854 GB, free: 8.844 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007822/12.68, allocations: 0.6815 MB / 4.855 GB, free: 8.152 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/12.68, allocations: 36 kB / 4.855 GB, free: 8.117 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001979/12.68, allocations: 381.8 kB / 4.855 GB, free: 7.738 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/12.68, allocations: 0.7498 MB / 4.856 GB, free: 6.988 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/12.68, allocations: 0.9846 MB / 4.857 GB, free: 5.941 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/12.69, allocations: 0.896 MB / 4.858 GB, free: 5.051 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/12.69, allocations: 4 kB / 4.858 GB, free: 5.047 MB / 1.214 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003925/12.69, allocations: 2.112 MB / 4.86 GB, free: 2.926 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/12.69, allocations: 5.25 kB / 4.86 GB, free: 2.922 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/12.69, allocations: 4 kB / 4.86 GB, free: 2.918 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/12.69, allocations: 11.94 kB / 4.86 GB, free: 2.906 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/12.69, allocations: 379.4 kB / 4.86 GB, free: 2.535 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.373e-05/12.69, allocations: 16.33 kB / 4.86 GB, free: 2.52 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/12.7, allocations: 326.2 kB / 4.861 GB, free: 2.199 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/12.7, allocations: 71.98 kB / 4.861 GB, free: 2.129 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * 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.0004258/12.7, allocations: 197.7 kB / 4.861 GB, free: 1.93 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007044/12.7, allocations: 193.8 kB / 4.861 GB, free: 1.738 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.042/13.74, allocations: 2.223 MB / 4.863 GB, free: 162.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.829e-05/13.74, allocations: 19.25 kB / 4.863 GB, free: 162.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/13.74, allocations: 0.7031 kB / 4.863 GB, free: 162.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003399/13.74, allocations: 1.824 MB / 4.865 GB, free: 162.7 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/13.75, allocations: 5.051 MB / 4.87 GB, free: 162.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/13.75, allocations: 2.875 kB / 4.87 GB, free: 162.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/13.76, allocations: 430.9 kB / 4.871 GB, free: 162.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-05/13.76, allocations: 10.42 kB / 4.871 GB, free: 162.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/13.76, allocations: 58.83 kB / 4.871 GB, free: 162.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-05/13.76, allocations: 12.22 kB / 4.871 GB, free: 162.1 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/13.76, allocations: 6.156 kB / 4.871 GB, free: 162.1 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/13.76, allocations: 3.473 MB / 4.874 GB, free: 161.7 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/13.76, allocations: 0.5005 MB / 4.874 GB, free: 161.5 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/13.76, allocations: 40.34 kB / 4.875 GB, free: 161.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/13.77, allocations: 210.8 kB / 4.875 GB, free: 161.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/13.77, allocations: 122.3 kB / 4.875 GB, free: 161.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/13.77, allocations: 67.19 kB / 4.875 GB, free: 161.5 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001607/13.77, allocations: 0.8772 MB / 4.876 GB, free: 161.4 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.31e-07/13.77, allocations: 0 / 4.876 GB, free: 161.4 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004182/13.77, allocations: 1.232 MB / 4.877 GB, free: 161.3 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * 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.01326/13.78, allocations: 8.796 MB / 4.886 GB, free: 157.8 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.003939/13.79, allocations: 1.916 MB / 4.887 GB, free: 157.7 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/13.79, allocations: 4.5 kB / 4.887 GB, free: 157.7 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/13.79, allocations: 1.037 MB / 4.888 GB, free: 157.7 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006725/13.8, allocations: 1.159 MB / 4.89 GB, free: 157.7 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/13.81, allocations: 5.156 MB / 4.895 GB, free: 156.6 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/13.81, allocations: 1.876 MB / 4.896 GB, free: 155.9 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003242/13.81, allocations: 0.6293 MB / 4.897 GB, free: 155.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/13.82, allocations: 0.9732 MB / 4.898 GB, free: 155.8 MB / 1.214 GB Notification: Performance of SimCode: time 1.703e-06/13.82, allocations: 0 / 4.898 GB, free: 155.8 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2059/14.02, allocations: 123.8 MB / 5.019 GB, free: 152.5 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/14.02, allocations: 197.7 kB / 5.019 GB, free: 152.3 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.389/20.41, allocations: 0 / 5.019 GB, free: 152.3 MB / 1.214 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat does not exist to compare? outputFormat=mat