Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.353/2.353, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.0013/0.0013, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.789/1.789, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009219/0.0009218, allocations: 91.95 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.004e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2966, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.205, allocations: 1.924 GB / 3.142 GB, free: 390.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/5.206, allocations: 83.95 kB / 3.143 GB, free: 390.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.245/7.451, allocations: 0.814 GB / 3.957 GB, free: 5.227 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.163e-06/7.451, allocations: 0 / 3.957 GB, free: 5.227 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001395/7.451, allocations: 32.12 kB / 3.957 GB, free: 5.195 MB / 1.167 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.006608/7.458, allocations: 1.582 MB / 3.958 GB, free: 3.562 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/7.458, allocations: 12.03 kB / 3.958 GB, free: 3.551 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005313/7.458, allocations: 148 kB / 3.958 GB, free: 3.398 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/7.462, allocations: 430 kB / 3.959 GB, free: 2.977 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/7.464, allocations: 0.8907 MB / 3.96 GB, free: 2.043 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/7.464, allocations: 73.94 kB / 3.96 GB, free: 1.973 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/7.464, allocations: 96 kB / 3.96 GB, free: 1.879 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/7.466, allocations: 1.168 MB / 3.961 GB, free: 0.668 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/7.466, allocations: 3.938 kB / 3.961 GB, free: 0.6641 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/7.466, allocations: 40 kB / 3.961 GB, free: 0.625 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/7.466, allocations: 45.98 kB / 3.961 GB, free: 0.582 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8067/8.273, allocations: 1.006 MB / 3.962 GB, free: 227.8 MB / 1.167 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.007026/8.28, allocations: 4.909 MB / 3.967 GB, free: 225 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/8.282, allocations: 0.9223 MB / 3.968 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/8.283, allocations: 0.5472 MB / 3.968 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/8.283, allocations: 0.6814 MB / 3.969 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/8.283, allocations: 41.44 kB / 3.969 GB, free: 224 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.426e-06/8.283, allocations: 0 / 3.969 GB, free: 224 MB / 1.167 GB Notification: Performance of matching and sorting (n=83): time 0.004385/8.288, allocations: 1.966 MB / 3.971 GB, free: 223.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/8.288, allocations: 61.09 kB / 3.971 GB, free: 223.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/8.289, allocations: 0.5478 MB / 3.971 GB, free: 223.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/8.289, allocations: 45.73 kB / 3.971 GB, free: 223.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/8.289, allocations: 456.5 kB / 3.972 GB, free: 223.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/8.29, allocations: 293.2 kB / 3.972 GB, free: 223 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/8.29, allocations: 16.59 kB / 3.972 GB, free: 223 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001973/8.29, allocations: 392.2 kB / 3.973 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/8.291, allocations: 312.8 kB / 3.973 GB, free: 222.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007141/8.291, allocations: 433.1 kB / 3.973 GB, free: 222.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/8.292, allocations: 372 kB / 3.974 GB, free: 222.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/8.292, allocations: 0.8438 kB / 3.974 GB, free: 222.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002138/8.294, allocations: 0.9256 MB / 3.975 GB, free: 222.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/8.294, allocations: 8.969 kB / 3.975 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/8.294, allocations: 2.562 kB / 3.975 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/8.295, allocations: 60.2 kB / 3.975 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/8.296, allocations: 165.6 kB / 3.975 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004398/8.296, allocations: 0.6077 MB / 3.975 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/8.297, allocations: 106.6 kB / 3.975 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/8.297, allocations: 26.41 kB / 3.975 GB, free: 221.9 MB / 1.167 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.0001878/8.298, allocations: 146.7 kB / 3.976 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/8.298, allocations: 92.81 kB / 3.976 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/8.3, allocations: 0.9084 MB / 3.977 GB, free: 221.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/8.3, allocations: 12.23 kB / 3.977 GB, free: 221.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/8.3, allocations: 1.031 kB / 3.977 GB, free: 221.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/8.301, allocations: 0.9127 MB / 3.977 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004217/8.305, allocations: 2.096 MB / 3.98 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/8.305, allocations: 0 / 3.98 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/8.306, allocations: 193.8 kB / 3.98 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/8.306, allocations: 7.031 kB / 3.98 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/8.307, allocations: 21.45 kB / 3.98 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/8.307, allocations: 3.828 kB / 3.98 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/8.307, allocations: 0 / 3.98 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/8.309, allocations: 1.354 MB / 3.981 GB, free: 220.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/8.31, allocations: 252.2 kB / 3.981 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/8.31, allocations: 16.75 kB / 3.981 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/8.311, allocations: 86.67 kB / 3.981 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/8.311, allocations: 48.03 kB / 3.981 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/8.311, allocations: 28.59 kB / 3.981 GB, free: 220.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006469/8.311, allocations: 448.7 kB / 3.982 GB, free: 220.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.11e-07/8.311, allocations: 0 / 3.982 GB, free: 220.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002021/8.313, allocations: 0.5071 MB / 3.982 GB, free: 220.7 MB / 1.167 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.00551/8.319, allocations: 3.788 MB / 3.986 GB, free: 219.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001559/8.321, allocations: 0.7927 MB / 3.987 GB, free: 219.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/8.321, allocations: 1.375 kB / 3.987 GB, free: 219.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/8.321, allocations: 416.8 kB / 3.987 GB, free: 219.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/8.324, allocations: 0.556 MB / 3.988 GB, free: 219.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/8.328, allocations: 2.162 MB / 3.99 GB, free: 218.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009169/8.329, allocations: 1.147 MB / 3.991 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001317/8.331, allocations: 257.8 kB / 3.991 GB, free: 218.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/8.331, allocations: 388.9 kB / 3.992 GB, free: 218.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.263e-06/8.331, allocations: 2.594 kB / 3.992 GB, free: 218.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/8.448, allocations: 62.4 MB / 4.053 GB, free: 217.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/8.449, allocations: 181.3 kB / 4.053 GB, free: 217.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/12.55, allocations: 0 / 4.053 GB, free: 217.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat