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.0008915/0.0008914, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001373/0.001373, allocations: 177.3 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.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.552/2.552, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003976, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8298, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2106/1.041, allocations: 179.1 MB / 1.129 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02715/1.068, allocations: 21.66 MB / 1.15 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/1.069, allocations: 23.88 kB / 1.15 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00311/1.073, allocations: 0.9805 MB / 1.151 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008753/1.081, allocations: 2.878 MB / 1.153 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/1.084, allocations: 0.8322 MB / 1.154 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004354/1.088, allocations: 2.279 MB / 1.157 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/1.091, allocations: 1.191 MB / 1.158 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/1.095, allocations: 1.787 MB / 1.159 GB, free: 12.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/1.097, allocations: 0.942 MB / 1.16 GB, free: 11.95 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/1.097, allocations: 76 kB / 1.16 GB, free: 11.87 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/1.1, allocations: 1.045 MB / 1.161 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007657/1.101, allocations: 0.7517 MB / 1.162 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006458/1.101, allocations: 456.3 kB / 1.163 GB, free: 9.617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/1.104, allocations: 2.105 MB / 1.165 GB, free: 7.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/1.104, allocations: 0 / 1.165 GB, free: 7.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/1.104, allocations: 0 / 1.165 GB, free: 7.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.681e-05/1.104, allocations: 0 / 1.165 GB, free: 7.508 MB / 0.92 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.004122/1.108, allocations: 2.477 MB / 1.167 GB, free: 4.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.108, allocations: 12.03 kB / 1.167 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/1.109, allocations: 202.6 kB / 1.167 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/1.111, allocations: 452.2 kB / 1.168 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/1.114, allocations: 2.638 MB / 1.17 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/1.114, allocations: 94.53 kB / 1.17 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/1.114, allocations: 127.9 kB / 1.17 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/1.117, allocations: 1.583 MB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/1.117, allocations: 7.938 kB / 1.172 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/1.117, allocations: 52 kB / 1.172 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/1.117, allocations: 93.95 kB / 1.172 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/1.119, allocations: 1.057 MB / 1.173 GB, free: 14.45 MB / 0.9356 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.009017/1.128, allocations: 8.448 MB / 1.181 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/1.129, allocations: 0.7388 MB / 1.182 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/1.129, allocations: 0.6091 MB / 1.183 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/1.129, allocations: 42.55 kB / 1.183 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/1.129, allocations: 4 kB / 1.183 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50): time 0.0018/1.131, allocations: 0.9841 MB / 1.184 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/1.131, allocations: 158.2 kB / 1.184 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/1.137, allocations: 4.682 MB / 1.189 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/1.137, allocations: 37.7 kB / 1.189 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009213/1.138, allocations: 1.063 MB / 1.19 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.138, allocations: 177.3 kB / 1.19 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/1.138, allocations: 12.11 kB / 1.19 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.139, allocations: 325.9 kB / 1.19 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/1.139, allocations: 225 kB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/1.139, allocations: 326.9 kB / 1.191 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/1.14, allocations: 253.3 kB / 1.191 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.14, allocations: 0 / 1.191 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001357/1.141, allocations: 0.811 MB / 1.192 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.141, allocations: 4 kB / 1.192 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.141, allocations: 4 kB / 1.192 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.141, allocations: 4 kB / 1.192 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/1.142, allocations: 111.8 kB / 1.192 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/1.142, allocations: 4 kB / 1.192 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.143, allocations: 162.9 kB / 1.192 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/1.143, allocations: 23.95 kB / 1.192 GB, free: 10.47 MB / 0.9512 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.0008476/1.144, allocations: 0.5365 MB / 1.192 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/1.144, allocations: 237.1 kB / 1.193 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/1.145, allocations: 0.8195 MB / 1.193 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.145, allocations: 8 kB / 1.194 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.145, allocations: 0 / 1.194 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/1.145, allocations: 7.984 kB / 1.194 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/1.149, allocations: 2.08 MB / 1.196 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/1.149, allocations: 8.188 kB / 1.196 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/1.149, allocations: 99.88 kB / 1.196 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/1.149, allocations: 4 kB / 1.196 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/1.149, allocations: 19.95 kB / 1.196 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/1.149, allocations: 7.938 kB / 1.196 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.149, allocations: 0 / 1.196 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.151, allocations: 1.406 MB / 1.197 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009912/1.152, allocations: 425.8 kB / 1.197 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/1.153, allocations: 16 kB / 1.197 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/1.154, allocations: 91.75 kB / 1.198 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/1.154, allocations: 44.39 kB / 1.198 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/1.154, allocations: 12 kB / 1.198 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004101/1.158, allocations: 3.498 MB / 1.201 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.158, allocations: 0 / 1.201 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001456/1.159, allocations: 471.1 kB / 1.201 GB, free: 0.5156 MB / 0.9512 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.003338/1.163, allocations: 2.743 MB / 1.204 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009242/1.164, allocations: 0.5376 MB / 1.205 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.164, allocations: 64 / 1.205 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004264/1.164, allocations: 302.3 kB / 1.205 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/1.168, allocations: 0.827 MB / 1.206 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/1.196, allocations: 21.26 MB / 1.227 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.197, allocations: 1.681 MB / 1.228 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001568/1.199, allocations: 466.1 kB / 1.229 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.2, allocations: 0.9406 MB / 1.23 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/1.2, allocations: 0 / 1.23 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6431/1.843, allocations: 52.55 MB / 1.281 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/1.844, allocations: 223.6 kB / 1.281 GB, free: 265 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/4.89, allocations: 0 / 1.281 GB, free: 265 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