Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.0009942/0.0009942, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001346/0.001346, allocations: 168.7 kB / 15.95 MB, free: 204 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.411/1.411, allocations: 223.3 MB / 240 MB, free: 5.43 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.422/2.422, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7536, allocations: 142.3 MB / 0.9538 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1973/0.9509, allocations: 198.8 MB / 1.148 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02689/0.9778, allocations: 24.59 MB / 1.172 GB, free: 232 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.9794, allocations: 23.88 kB / 1.172 GB, free: 208 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.9817, allocations: 0.8238 MB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.9883, allocations: 2.437 MB / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.992, allocations: 1.218 MB / 1.176 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006408/0.9984, allocations: 4.851 MB / 1.181 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/1, allocations: 1.144 MB / 1.182 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/1.005, allocations: 1.922 MB / 1.184 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/1.007, allocations: 1.456 MB / 1.186 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004093/1.007, allocations: 72 kB / 1.186 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/1.011, allocations: 1.064 MB / 1.187 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008738/1.012, allocations: 0.8138 MB / 1.187 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008509/1.013, allocations: 456.4 kB / 1.188 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/1.016, allocations: 2.143 MB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.016, allocations: 0 / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.863e-06/1.016, allocations: 0 / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.672e-05/1.016, allocations: 0 / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003711/1.019, allocations: 2.485 MB / 1.192 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.019, allocations: 8.031 kB / 1.192 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002112/1.02, allocations: 198.6 kB / 1.193 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/1.021, allocations: 452.2 kB / 1.193 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/1.025, allocations: 2.63 MB / 1.196 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-05/1.025, allocations: 98.52 kB / 1.196 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/1.025, allocations: 131.9 kB / 1.196 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/1.027, allocations: 1.587 MB / 1.197 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/1.027, allocations: 7.938 kB / 1.197 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/1.028, allocations: 55.98 kB / 1.197 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/1.028, allocations: 97.89 kB / 1.197 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/1.029, allocations: 1.065 MB / 1.199 GB, free: 4.652 MB / 0.9512 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.008615/1.038, allocations: 8.444 MB / 1.207 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/1.039, allocations: 0.7271 MB / 1.207 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/1.039, allocations: 312.1 kB / 1.208 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/1.04, allocations: 0.613 MB / 1.208 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.04, allocations: 42.5 kB / 1.208 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=50): time 2.304e-06/1.04, allocations: 4 kB / 1.208 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=50): time 0.002026/1.042, allocations: 0.9755 MB / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.042, allocations: 158.3 kB / 1.21 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005341/1.047, allocations: 4.693 MB / 1.214 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.454e-05/1.048, allocations: 37.7 kB / 1.214 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000858/1.048, allocations: 1.07 MB / 1.215 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/1.049, allocations: 177.4 kB / 1.215 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/1.049, allocations: 8 kB / 1.215 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/1.049, allocations: 326 kB / 1.216 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/1.049, allocations: 225 kB / 1.216 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/1.049, allocations: 318.9 kB / 1.216 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/1.05, allocations: 265.2 kB / 1.216 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.05, allocations: 0 / 1.216 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001237/1.051, allocations: 0.8069 MB / 1.217 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.051, allocations: 8.25 kB / 1.217 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.051, allocations: 4 kB / 1.217 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.051, allocations: 8 kB / 1.217 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/1.052, allocations: 107.8 kB / 1.217 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.052, allocations: 4 kB / 1.217 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009795/1.053, allocations: 154.8 kB / 1.218 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/1.053, allocations: 23.98 kB / 1.218 GB, free: 372 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0007326/1.053, allocations: 0.5443 MB / 1.218 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/1.054, allocations: 229.1 kB / 1.218 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/1.055, allocations: 0.8195 MB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.055, allocations: 8 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.055, allocations: 0 / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.055, allocations: 7.984 kB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/1.058, allocations: 2.084 MB / 1.221 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.058, allocations: 0 / 1.221 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/1.058, allocations: 108 kB / 1.221 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.058, allocations: 4 kB / 1.221 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/1.058, allocations: 15.95 kB / 1.221 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/1.058, allocations: 3.984 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.058, allocations: 4 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/1.06, allocations: 1.282 MB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/1.061, allocations: 425.8 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.061, allocations: 16 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/1.062, allocations: 87.88 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/1.062, allocations: 32.39 kB / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/1.062, allocations: 20 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003824/1.066, allocations: 3.49 MB / 1.226 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/1.066, allocations: 7.938 kB / 1.226 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001457/1.067, allocations: 475 kB / 1.227 GB, free: 6.57 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * 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.003272/1.07, allocations: 2.268 MB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009578/1.071, allocations: 0.5411 MB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.071, allocations: 0 / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004417/1.072, allocations: 303.2 kB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004001/1.076, allocations: 0.8308 MB / 1.231 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5624/1.638, allocations: 20.1 MB / 1.25 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.64, allocations: 1.634 MB / 1.252 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002195/1.642, allocations: 467.5 kB / 1.252 GB, free: 282 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/1.644, allocations: 0.9425 MB / 1.253 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.644, allocations: 3.031 kB / 1.253 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08414/1.728, allocations: 52.58 MB / 1.305 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001223/1.728, allocations: 234.8 kB / 1.305 GB, free: 246.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/4.878, allocations: 0 / 1.305 GB, free: 246.1 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat does not exist to compare? outputFormat=mat