Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",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.268/2.268, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001034/0.001034, allocations: 184 kB / 492.3 MB, free: 0.5938 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.642/1.642, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 103.1 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.977e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2677, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.733/5, allocations: 1.923 GB / 3.135 GB, free: 418.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/5.001, allocations: 91.94 kB / 3.135 GB, free: 418.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.288/7.289, allocations: 0.814 GB / 3.949 GB, free: 18.83 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.142e-06/7.289, allocations: 3.938 kB / 3.949 GB, free: 18.83 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001048/7.289, allocations: 28 kB / 3.949 GB, free: 18.8 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004926/7.294, allocations: 1.582 MB / 3.951 GB, free: 17.17 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/7.294, allocations: 8.031 kB / 3.951 GB, free: 17.16 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003385/7.294, allocations: 160 kB / 3.951 GB, free: 17 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/7.297, allocations: 418 kB / 3.952 GB, free: 16.59 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/7.299, allocations: 0.8791 MB / 3.952 GB, free: 15.67 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/7.299, allocations: 74 kB / 3.952 GB, free: 15.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/7.299, allocations: 104 kB / 3.953 GB, free: 15.49 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/7.301, allocations: 1.164 MB / 3.954 GB, free: 14.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/7.301, allocations: 7.844 kB / 3.954 GB, free: 14.28 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/7.301, allocations: 44 kB / 3.954 GB, free: 14.24 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/7.301, allocations: 45.98 kB / 3.954 GB, free: 14.19 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/7.303, allocations: 1.011 MB / 3.955 GB, free: 13.18 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.005078/7.308, allocations: 4.903 MB / 3.96 GB, free: 7.879 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/7.309, allocations: 0.926 MB / 3.96 GB, free: 6.902 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008175/7.31, allocations: 0.5485 MB / 3.961 GB, free: 6.352 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004841/7.311, allocations: 0.6812 MB / 3.962 GB, free: 5.523 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/7.311, allocations: 43.34 kB / 3.962 GB, free: 5.473 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/7.311, allocations: 0 / 3.962 GB, free: 5.473 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.003594/7.314, allocations: 1.958 MB / 3.964 GB, free: 3.457 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/7.314, allocations: 64.19 kB / 3.964 GB, free: 3.383 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/7.315, allocations: 0.5544 MB / 3.964 GB, free: 2.824 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/7.315, allocations: 41.7 kB / 3.964 GB, free: 2.777 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/7.315, allocations: 448.2 kB / 3.965 GB, free: 2.332 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/7.315, allocations: 299.6 kB / 3.965 GB, free: 2.035 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/7.316, allocations: 16 kB / 3.965 GB, free: 2.02 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001036/7.316, allocations: 398.6 kB / 3.965 GB, free: 1.621 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/7.316, allocations: 309.5 kB / 3.966 GB, free: 1.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/7.317, allocations: 435.6 kB / 3.966 GB, free: 0.8555 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/7.317, allocations: 373.9 kB / 3.966 GB, free: 0.4922 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/7.317, allocations: 3.938 kB / 3.966 GB, free: 500 kB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.7361/8.053, allocations: 0.9248 MB / 3.967 GB, free: 222.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/8.053, allocations: 5.531 kB / 3.967 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/8.053, allocations: 3.578 kB / 3.967 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/8.054, allocations: 53.66 kB / 3.967 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/8.054, allocations: 161.8 kB / 3.968 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000435/8.055, allocations: 0.6082 MB / 3.968 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/8.056, allocations: 110.2 kB / 3.968 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/8.056, allocations: 25.12 kB / 3.968 GB, free: 222 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001941/8.057, allocations: 148.5 kB / 3.968 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/8.057, allocations: 91.8 kB / 3.969 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/8.059, allocations: 0.9121 MB / 3.969 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/8.059, allocations: 12.34 kB / 3.969 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/8.059, allocations: 0.875 kB / 3.969 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/8.06, allocations: 0.9064 MB / 3.97 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/8.064, allocations: 2.102 MB / 3.972 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/8.064, allocations: 2.125 kB / 3.972 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/8.065, allocations: 188.5 kB / 3.973 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/8.065, allocations: 3.656 kB / 3.973 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/8.065, allocations: 24.36 kB / 3.973 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/8.065, allocations: 3.406 kB / 3.973 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/8.065, allocations: 3.953 kB / 3.973 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/8.067, allocations: 1.345 MB / 3.974 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/8.068, allocations: 254.5 kB / 3.974 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/8.068, allocations: 15.7 kB / 3.974 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/8.069, allocations: 90.14 kB / 3.974 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/8.069, allocations: 50.61 kB / 3.974 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/8.069, allocations: 26.78 kB / 3.974 GB, free: 221 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006757/8.07, allocations: 445.3 kB / 3.975 GB, free: 220.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/8.07, allocations: 0 / 3.975 GB, free: 220.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001885/8.071, allocations: 0.5016 MB / 3.975 GB, free: 220.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.005481/8.077, allocations: 3.794 MB / 3.979 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001787/8.079, allocations: 0.7894 MB / 3.98 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/8.079, allocations: 2.547 kB / 3.98 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007011/8.08, allocations: 422.8 kB / 3.98 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/8.083, allocations: 0.555 MB / 3.981 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/8.088, allocations: 2.158 MB / 3.983 GB, free: 219.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009052/8.089, allocations: 1.144 MB / 3.984 GB, free: 218.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00163/8.09, allocations: 257.5 kB / 3.984 GB, free: 218.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/8.091, allocations: 394.8 kB / 3.984 GB, free: 218.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.302e-06/8.091, allocations: 0 / 3.984 GB, free: 218.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/8.21, allocations: 62.4 MB / 4.045 GB, free: 217.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/8.21, allocations: 175.3 kB / 4.046 GB, free: 217.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.214/12.42, allocations: 0 / 4.046 GB, free: 217.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat