Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",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.578/2.578, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001433/0.001433, allocations: 183.6 kB / 0.4901 GB, free: 2.23 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.577/1.577, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009751/0.0009751, allocations: 95.12 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005843/0.0005842, allocations: 10.91 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2761, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.445/4.721, allocations: 1.73 GB / 2.959 GB, free: 221.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/4.722, allocations: 87.95 kB / 2.959 GB, free: 221.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1032/4.825, allocations: 51.05 MB / 3.009 GB, free: 178.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.914e-06/4.825, allocations: 0 / 3.009 GB, free: 178.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.181e-05/4.825, allocations: 12 kB / 3.009 GB, free: 178.5 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001493/4.826, allocations: 0.6693 MB / 3.009 GB, free: 177.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/4.826, allocations: 12.56 kB / 3.009 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/4.827, allocations: 65.16 kB / 3.01 GB, free: 177.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/4.829, allocations: 243.1 kB / 3.01 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/4.83, allocations: 297.3 kB / 3.01 GB, free: 177.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/4.83, allocations: 31.83 kB / 3.01 GB, free: 177.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/4.83, allocations: 23.06 kB / 3.01 GB, free: 177.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/4.831, allocations: 436.2 kB / 3.011 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/4.832, allocations: 3.984 kB / 3.011 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/4.832, allocations: 11.75 kB / 3.011 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/4.832, allocations: 8 kB / 3.011 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/4.834, allocations: 0.5304 MB / 3.011 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/4.837, allocations: 1.151 MB / 3.012 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/4.84, allocations: 475.4 kB / 3.013 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/4.84, allocations: 7.984 kB / 3.013 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/4.84, allocations: 38.25 kB / 3.013 GB, free: 175 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 3.797e-06/4.84, allocations: 0 / 3.013 GB, free: 175 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.01707/4.857, allocations: 1.718 MB / 3.014 GB, free: 173.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/4.857, allocations: 55.41 kB / 3.014 GB, free: 173.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/4.857, allocations: 262.8 kB / 3.015 GB, free: 173.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.814e-05/4.858, allocations: 33.33 kB / 3.015 GB, free: 173.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/4.858, allocations: 166.3 kB / 3.015 GB, free: 173 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/4.858, allocations: 89.61 kB / 3.015 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/4.858, allocations: 7.5 kB / 3.015 GB, free: 172.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001051/4.858, allocations: 345.1 kB / 3.015 GB, free: 172.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/4.859, allocations: 201.8 kB / 3.015 GB, free: 172.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/4.86, allocations: 268 kB / 3.016 GB, free: 172.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/4.861, allocations: 222.5 kB / 3.016 GB, free: 172 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/4.861, allocations: 3.938 kB / 3.016 GB, free: 172 MB / 1.167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007559/4.869, allocations: 0.8915 MB / 3.017 GB, free: 171.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/4.869, allocations: 4 kB / 3.017 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/4.869, allocations: 0 / 3.017 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/4.871, allocations: 279.5 kB / 3.017 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/4.872, allocations: 71.25 kB / 3.017 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/4.886, allocations: 3.874 MB / 3.021 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/4.887, allocations: 83.33 kB / 3.021 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/4.888, allocations: 15.97 kB / 3.021 GB, free: 166.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002586/4.888, allocations: 148 kB / 3.021 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/4.888, allocations: 31.62 kB / 3.021 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007555/4.895, allocations: 0.9465 MB / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/4.896, allocations: 4 kB / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/4.896, allocations: 0 / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/4.896, allocations: 7.938 kB / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/4.896, allocations: 426.4 kB / 3.023 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/4.896, allocations: 0 / 3.023 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/4.897, allocations: 63.52 kB / 3.023 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/4.899, allocations: 283.3 kB / 3.023 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/4.899, allocations: 11.72 kB / 3.023 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/4.914, allocations: 3.863 MB / 3.027 GB, free: 161.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/4.914, allocations: 0 / 3.027 GB, free: 161.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007413/4.921, allocations: 0.9725 MB / 3.028 GB, free: 160.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/4.921, allocations: 108.7 kB / 3.028 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/4.922, allocations: 3.938 kB / 3.028 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/4.922, allocations: 47.64 kB / 3.028 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/4.923, allocations: 19.22 kB / 3.028 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/4.923, allocations: 19.53 kB / 3.028 GB, free: 160.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002334/4.923, allocations: 218.7 kB / 3.028 GB, free: 160.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/4.923, allocations: 0 / 3.028 GB, free: 160.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009272/4.924, allocations: 161.4 kB / 3.028 GB, free: 160 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008518/4.932, allocations: 1.992 MB / 3.03 GB, free: 158.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002842/4.935, allocations: 0.7451 MB / 3.031 GB, free: 157.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/4.935, allocations: 0 / 3.031 GB, free: 157.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/4.937, allocations: 0.509 MB / 3.031 GB, free: 156.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/4.937, allocations: 91.53 kB / 3.031 GB, free: 156.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/4.95, allocations: 2.931 MB / 3.034 GB, free: 154.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/4.95, allocations: 0.7764 MB / 3.035 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005675/4.95, allocations: 86.84 kB / 3.035 GB, free: 153.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/4.951, allocations: 97.77 kB / 3.035 GB, free: 153.3 MB / 1.167 GB Notification: Performance of SimCode: time 8.937e-06/4.951, allocations: 0 / 3.035 GB, free: 153.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/4.995, allocations: 25.36 MB / 3.06 GB, free: 128.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/4.995, allocations: 206.6 kB / 3.06 GB, free: 128 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/7.772, allocations: 0 / 3.06 GB, free: 128 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat does not exist to compare? outputFormat=mat