Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/0.7337, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2096/0.9434, allocations: 180.9 MB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.9551, allocations: 8.764 MB / 1.139 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009691/0.9561, allocations: 11.94 kB / 1.139 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.9576, allocations: 405.5 kB / 1.139 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.9619, allocations: 1.477 MB / 1.141 GB, free: 112 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.9638, allocations: 0.5712 MB / 1.141 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.967, allocations: 2.65 MB / 1.144 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.9682, allocations: 0.5985 MB / 1.145 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.9708, allocations: 1.14 MB / 1.146 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.9721, allocations: 0.7277 MB / 1.146 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.9724, allocations: 47.94 kB / 1.146 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.9754, allocations: 1.142 MB / 1.148 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005567/0.9759, allocations: 323 kB / 1.148 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.9765, allocations: 209.3 kB / 1.148 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.9785, allocations: 1.169 MB / 1.149 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9786, allocations: 4 kB / 1.149 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9786, allocations: 0 / 1.149 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.517e-05/0.9786, allocations: 0 / 1.149 GB, free: 7.5 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003512/0.9821, allocations: 1.278 MB / 1.15 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.9822, allocations: 8.031 kB / 1.15 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/0.9824, allocations: 122.5 kB / 1.151 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006787/0.9831, allocations: 146.8 kB / 1.151 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/0.984, allocations: 0.5413 MB / 1.151 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.9841, allocations: 54 kB / 1.151 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/0.9842, allocations: 67.98 kB / 1.151 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.9855, allocations: 0.8704 MB / 1.152 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.9856, allocations: 0 / 1.152 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.9856, allocations: 24 kB / 1.152 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.9857, allocations: 53.97 kB / 1.152 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.987, allocations: 0.769 MB / 1.153 GB, free: 3.449 MB / 0.9044 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.005233/0.9922, allocations: 4.529 MB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.993, allocations: 419.9 kB / 1.158 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.9933, allocations: 193.4 kB / 1.158 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.9939, allocations: 0.7639 MB / 1.159 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.994, allocations: 34.89 kB / 1.159 GB, free: 12.8 MB / 0.92 GB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.994, allocations: 4 kB / 1.159 GB, free: 12.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.00128/0.9953, allocations: 0.6144 MB / 1.159 GB, free: 12.17 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.9953, allocations: 59.41 kB / 1.16 GB, free: 12.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.9965, allocations: 0.8641 MB / 1.16 GB, free: 11.23 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.9966, allocations: 29.7 kB / 1.16 GB, free: 11.19 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.9969, allocations: 391.6 kB / 1.161 GB, free: 10.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.9971, allocations: 138 kB / 1.161 GB, free: 10.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.9971, allocations: 8 kB / 1.161 GB, free: 10.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9973, allocations: 326 kB / 1.161 GB, free: 10.33 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.9976, allocations: 185 kB / 1.161 GB, free: 10.15 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.998, allocations: 285.5 kB / 1.162 GB, free: 9.852 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.9984, allocations: 225.5 kB / 1.162 GB, free: 9.633 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.9984, allocations: 0 / 1.162 GB, free: 9.633 MB / 0.92 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001041/0.9995, allocations: 0.5933 MB / 1.162 GB, free: 9.031 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.9995, allocations: 5.094 kB / 1.162 GB, free: 9.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9995, allocations: 4 kB / 1.162 GB, free: 9.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.9996, allocations: 7.953 kB / 1.162 GB, free: 9.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/1, allocations: 103.8 kB / 1.163 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1, allocations: 12.2 kB / 1.163 GB, free: 8.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/1.001, allocations: 99.09 kB / 1.163 GB, free: 8.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/1.001, allocations: 27.98 kB / 1.163 GB, free: 8.777 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.000306/1.001, allocations: 233.7 kB / 1.163 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.001, allocations: 90.91 kB / 1.163 GB, free: 8.449 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000975/1.002, allocations: 0.5554 MB / 1.164 GB, free: 7.883 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.002, allocations: 11.95 kB / 1.164 GB, free: 7.871 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.002, allocations: 0 / 1.164 GB, free: 7.871 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/1.002, allocations: 8.016 kB / 1.164 GB, free: 7.863 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/1.005, allocations: 2.132 MB / 1.166 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.005, allocations: 7.984 kB / 1.166 GB, free: 5.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/1.006, allocations: 95.8 kB / 1.166 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/1.006, allocations: 8 kB / 1.166 GB, free: 5.449 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/1.006, allocations: 23.98 kB / 1.166 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/1.006, allocations: 16 kB / 1.166 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.006, allocations: 8 kB / 1.166 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.007, allocations: 0.9912 MB / 1.167 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/1.008, allocations: 219.9 kB / 1.167 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.008, allocations: 19.95 kB / 1.167 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/1.008, allocations: 48.03 kB / 1.167 GB, free: 4.012 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/1.008, allocations: 51.78 kB / 1.167 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/1.008, allocations: 23.98 kB / 1.167 GB, free: 3.938 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007676/1.009, allocations: 0.6161 MB / 1.168 GB, free: 3.328 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 0 / 1.168 GB, free: 3.328 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008308/1.01, allocations: 247.6 kB / 1.168 GB, free: 3.086 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.00186/1.012, allocations: 1.667 MB / 1.17 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008348/1.013, allocations: 463.3 kB / 1.17 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.013, allocations: 0 / 1.17 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/1.013, allocations: 237.6 kB / 1.17 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.015, allocations: 484.1 kB / 1.171 GB, free: 172 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006581/1.022, allocations: 4.885 MB / 1.175 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/1.022, allocations: 1.005 MB / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007674/1.023, allocations: 191 kB / 1.177 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/1.024, allocations: 291.3 kB / 1.177 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/1.024, allocations: 0 / 1.177 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/1.065, allocations: 23.26 MB / 1.2 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.066, allocations: 225.8 kB / 1.2 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.304, allocations: 3.938 kB / 1.2 GB, free: 2.457 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat does not exist to compare? outputFormat=mat