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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001274/0.001274, allocations: 184.6 kB / 487.4 MB, free: 5.059 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.589/1.589, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 103.7 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.259e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3009, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 12/12.3, allocations: 4.425 GB / 5.631 GB, free: 132.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/12.3, allocations: 87.95 kB / 5.631 GB, free: 132.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.887/17.19, allocations: 1.385 GB / 7.016 GB, free: 32.01 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.013e-06/17.19, allocations: 0 / 7.016 GB, free: 32.01 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001773/17.19, allocations: 51.98 kB / 7.016 GB, free: 31.96 MB / 1.151 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.004877/17.2, allocations: 2.385 MB / 7.018 GB, free: 29.53 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/17.2, allocations: 8.031 kB / 7.018 GB, free: 29.52 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/17.2, allocations: 419.2 kB / 7.019 GB, free: 29.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/17.2, allocations: 1.995 MB / 7.021 GB, free: 27.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/17.2, allocations: 48 kB / 7.021 GB, free: 27 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/17.2, allocations: 79.91 kB / 7.021 GB, free: 26.92 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001481/17.2, allocations: 0.8564 MB / 7.022 GB, free: 26.06 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/17.2, allocations: 1.361 MB / 7.023 GB, free: 24.55 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/17.2, allocations: 7.938 kB / 7.023 GB, free: 24.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/17.2, allocations: 7.984 kB / 7.023 GB, free: 24.54 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/17.2, allocations: 58 kB / 7.023 GB, free: 24.48 MB / 1.151 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.006626/17.21, allocations: 8.458 MB / 7.031 GB, free: 15.52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/17.21, allocations: 0.5569 MB / 7.032 GB, free: 14.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/17.21, allocations: 234 kB / 7.032 GB, free: 14.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/17.21, allocations: 0.7757 MB / 7.033 GB, free: 13.78 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/17.21, allocations: 39 kB / 7.033 GB, free: 13.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 2.615e-06/17.21, allocations: 11.92 kB / 7.033 GB, free: 13.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.00136/17.21, allocations: 0.6619 MB / 7.034 GB, free: 13.05 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/17.21, allocations: 55.84 kB / 7.034 GB, free: 12.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/17.22, allocations: 2.735 MB / 7.036 GB, free: 10.22 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/17.22, allocations: 25.7 kB / 7.036 GB, free: 10.19 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/17.22, allocations: 1.074 MB / 7.037 GB, free: 9.105 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/17.22, allocations: 169.4 kB / 7.038 GB, free: 8.938 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/17.22, allocations: 0 / 7.038 GB, free: 8.938 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/17.22, allocations: 326 kB / 7.038 GB, free: 8.613 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/17.22, allocations: 177 kB / 7.038 GB, free: 8.441 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/17.22, allocations: 279.9 kB / 7.038 GB, free: 8.125 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/17.22, allocations: 223.7 kB / 7.038 GB, free: 7.906 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/17.22, allocations: 4 kB / 7.039 GB, free: 7.902 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008892/17.22, allocations: 0.6667 MB / 7.039 GB, free: 7.227 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/17.22, allocations: 11.95 kB / 7.039 GB, free: 7.215 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/17.22, allocations: 0 / 7.039 GB, free: 7.215 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/17.22, allocations: 8 kB / 7.039 GB, free: 7.207 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/17.22, allocations: 108.1 kB / 7.039 GB, free: 7.102 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/17.22, allocations: 11.98 kB / 7.039 GB, free: 7.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009828/17.22, allocations: 103.6 kB / 7.039 GB, free: 6.988 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/17.22, allocations: 36 kB / 7.039 GB, free: 6.953 MB / 1.151 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 () * 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 8.993e-05/17.22, allocations: 110.1 kB / 7.04 GB, free: 6.84 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008517/17.22, allocations: 0.6191 MB / 7.04 GB, free: 6.211 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/17.22, allocations: 197.5 kB / 7.04 GB, free: 6.016 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/17.22, allocations: 0.7808 MB / 7.041 GB, free: 5.23 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/17.22, allocations: 4 kB / 7.041 GB, free: 5.227 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/17.22, allocations: 3.938 kB / 7.041 GB, free: 5.223 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/17.22, allocations: 0 / 7.041 GB, free: 5.223 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/17.23, allocations: 2.377 MB / 7.043 GB, free: 2.781 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/17.23, allocations: 6.297 kB / 7.043 GB, free: 2.777 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/17.23, allocations: 111.8 kB / 7.044 GB, free: 2.668 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/17.23, allocations: 4 kB / 7.044 GB, free: 2.664 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/17.23, allocations: 8 kB / 7.044 GB, free: 2.656 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/17.23, allocations: 4 kB / 7.044 GB, free: 2.652 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/17.23, allocations: 0 / 7.044 GB, free: 2.652 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/17.23, allocations: 1.206 MB / 7.045 GB, free: 1.363 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/17.23, allocations: 0.514 MB / 7.045 GB, free: 0.8281 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/17.23, allocations: 4 kB / 7.045 GB, free: 0.8242 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/17.23, allocations: 91.75 kB / 7.045 GB, free: 0.7344 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.597e-05/17.23, allocations: 36.39 kB / 7.045 GB, free: 0.6992 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/17.23, allocations: 35.94 kB / 7.045 GB, free: 0.6641 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002657/17.23, allocations: 2.131 MB / 7.047 GB, free: 14.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.01e-07/17.23, allocations: 0 / 7.047 GB, free: 14.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002446/17.24, allocations: 0.7675 MB / 7.048 GB, free: 13.75 MB / 1.167 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 () * 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.008415/17.24, allocations: 5.822 MB / 7.054 GB, free: 7.586 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008517/17.25, allocations: 425.8 kB / 7.054 GB, free: 7.172 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/17.25, allocations: 4.125 kB / 7.054 GB, free: 7.168 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/17.25, allocations: 237.5 kB / 7.055 GB, free: 6.938 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/17.25, allocations: 414.4 kB / 7.055 GB, free: 6.535 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/17.26, allocations: 3.955 MB / 7.059 GB, free: 2.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/17.26, allocations: 1.68 MB / 7.06 GB, free: 0.7891 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001641/17.26, allocations: 0.4898 MB / 7.061 GB, free: 300 kB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/17.26, allocations: 0.9523 MB / 7.062 GB, free: 15.34 MB / 1.182 GB Notification: Performance of SimCode: time 8.82e-07/17.26, allocations: 7.938 kB / 7.062 GB, free: 15.33 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9095/18.17, allocations: 61.82 MB / 7.122 GB, free: 183.2 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/18.17, allocations: 165.3 kB / 7.122 GB, free: 183 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.274/22.44, allocations: 3.938 kB / 7.122 GB, free: 183 MB / 1.182 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