Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_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.0008374/0.0008376, allocations: 91.84 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.0009661/0.0009662, 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.365/1.365, allocations: 223.2 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.56/2.56, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 8 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6865, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2016/0.8881, allocations: 198.8 MB / 1.175 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02827/0.9164, allocations: 24.55 MB / 1.199 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.9183, allocations: 23.88 kB / 1.199 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.9209, allocations: 0.8433 MB / 1.2 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007309/0.9282, allocations: 2.437 MB / 1.202 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.9321, allocations: 1.211 MB / 1.204 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005869/0.938, allocations: 4.849 MB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.9399, allocations: 1.152 MB / 1.209 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.9445, allocations: 1.93 MB / 1.211 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.9469, allocations: 1.44 MB / 1.213 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.9471, allocations: 76 kB / 1.213 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.9501, allocations: 1.076 MB / 1.214 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007099/0.9508, allocations: 0.8023 MB / 1.215 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.9514, allocations: 464.2 kB / 1.215 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.9537, allocations: 2.143 MB / 1.217 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9537, allocations: 4 kB / 1.217 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9537, allocations: 0 / 1.217 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3e-05/0.9538, allocations: 0 / 1.217 GB, free: 3.816 MB / 0.9669 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.003475/0.9573, allocations: 2.477 MB / 1.22 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.9573, allocations: 12.03 kB / 1.22 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/0.9575, allocations: 198.6 kB / 1.22 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.9592, allocations: 452.2 kB / 1.22 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/0.9623, allocations: 2.642 MB / 1.223 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.758e-05/0.9624, allocations: 98.53 kB / 1.223 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.9626, allocations: 132 kB / 1.223 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.9648, allocations: 1.591 MB / 1.225 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.9649, allocations: 7.938 kB / 1.225 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.712e-05/0.965, allocations: 52 kB / 1.225 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.9651, allocations: 93.95 kB / 1.225 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.9667, allocations: 1.059 MB / 1.226 GB, free: 10.74 MB / 0.9825 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.007515/0.9742, allocations: 8.436 MB / 1.234 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/0.9752, allocations: 0.7349 MB / 1.235 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.9757, allocations: 312.1 kB / 1.235 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005766/0.9762, allocations: 0.6091 MB / 1.236 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.9763, allocations: 42.56 kB / 1.236 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 2.585e-06/0.9763, allocations: 0 / 1.236 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.001691/0.978, allocations: 0.9873 MB / 1.237 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.9781, allocations: 166.2 kB / 1.237 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005265/0.9834, allocations: 4.682 MB / 1.241 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.966e-05/0.9835, allocations: 33.7 kB / 1.241 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008771/0.9844, allocations: 1.066 MB / 1.242 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.9845, allocations: 177.4 kB / 1.243 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.9845, allocations: 16 kB / 1.243 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9847, allocations: 326 kB / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.985, allocations: 217 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.9855, allocations: 326.9 kB / 1.243 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.9858, allocations: 261.2 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.9859, allocations: 0 / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001286/0.9872, allocations: 0.8109 MB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9872, allocations: 5.406 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.9872, allocations: 4 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.9872, allocations: 11.89 kB / 1.245 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.9876, allocations: 103.9 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.9876, allocations: 7.938 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.9887, allocations: 158.9 kB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.9888, allocations: 23.98 kB / 1.245 GB, free: 6.445 MB / 0.9981 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.0007606/0.9895, allocations: 0.5365 MB / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/0.9899, allocations: 237.1 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.9912, allocations: 0.804 MB / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.9912, allocations: 16.06 kB / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9912, allocations: 4.031 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.9912, allocations: 7.969 kB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.9943, allocations: 2.096 MB / 1.248 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.9943, allocations: 4 kB / 1.248 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.9947, allocations: 95.89 kB / 1.249 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.9947, allocations: 4 kB / 1.249 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.9948, allocations: 16 kB / 1.249 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.9948, allocations: 4 kB / 1.249 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.9948, allocations: 7.922 kB / 1.249 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.9964, allocations: 1.278 MB / 1.25 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.9971, allocations: 433.8 kB / 1.25 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.9973, allocations: 8 kB / 1.25 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.998, allocations: 83.92 kB / 1.25 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.9981, allocations: 40.33 kB / 1.25 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.9982, allocations: 20 kB / 1.25 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5037/1.502, allocations: 3.497 MB / 1.254 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.82e-07/1.502, allocations: 0 / 1.254 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001661/1.504, allocations: 475.7 kB / 1.254 GB, free: 267.2 MB / 0.9981 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.003195/1.507, allocations: 2.259 MB / 1.256 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001019/1.508, allocations: 0.5419 MB / 1.257 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.508, allocations: 0 / 1.257 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/1.508, allocations: 299.8 kB / 1.257 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/1.512, allocations: 0.8408 MB / 1.258 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.538, allocations: 20.11 MB / 1.278 GB, free: 253.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009212/1.539, allocations: 1.638 MB / 1.279 GB, free: 251.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001602/1.54, allocations: 458.1 kB / 1.28 GB, free: 251.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009307/1.541, allocations: 0.9367 MB / 1.281 GB, free: 250.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.541, allocations: 4 kB / 1.281 GB, free: 250.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06812/1.609, allocations: 52.58 MB / 1.332 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/1.609, allocations: 242.6 kB / 1.332 GB, free: 197.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.988/4.597, allocations: 0 / 1.332 GB, free: 197.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat does not exist to compare? outputFormat=mat