Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",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.001141/0.001141, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001342/0.001342, allocations: 177.3 kB / 15.95 MB, free: 216 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.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.379 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.384/2.384, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7064/0.7068, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002014/0.7088, allocations: 1.876 MB / 0.9554 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1422/0.851, allocations: 128.3 MB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.8512, allocations: 4 kB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.8514, allocations: 23.77 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.8517, allocations: 115.7 kB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.8524, allocations: 247.3 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.8527, allocations: 264.7 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.8529, allocations: 82.11 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.8532, allocations: 179.5 kB / 1.082 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.8534, allocations: 155.4 kB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.8535, allocations: 8 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.854, allocations: 271.5 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.854, allocations: 51.81 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.8541, allocations: 81.5 kB / 1.082 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.8545, allocations: 337.5 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.8545, allocations: 0 / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8545, allocations: 0 / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8545, allocations: 0 / 1.082 GB, free: 11.8 MB / 0.8419 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.001237/0.8558, allocations: 0.6664 MB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8558, allocations: 8.031 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/0.8559, allocations: 62.53 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.8585, allocations: 251.3 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.8588, allocations: 287.4 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.8589, allocations: 24.52 kB / 1.084 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.8589, allocations: 32 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.8603, allocations: 424.5 kB / 1.084 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8603, allocations: 4 kB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.8603, allocations: 12 kB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8603, allocations: 4 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.8625, allocations: 0.533 MB / 1.085 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.8653, allocations: 1.144 MB / 1.086 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.8674, allocations: 470.3 kB / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.8674, allocations: 0 / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.8675, allocations: 38.56 kB / 1.086 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.8675, allocations: 3.938 kB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.01488/0.8824, allocations: 1.705 MB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.8825, allocations: 59.41 kB / 1.088 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.8828, allocations: 308.5 kB / 1.088 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.8829, allocations: 29.7 kB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.883, allocations: 172.2 kB / 1.089 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/0.8831, allocations: 90.67 kB / 1.089 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.8831, allocations: 4 kB / 1.089 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8833, allocations: 338.8 kB / 1.089 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009616/0.8842, allocations: 212.3 kB / 1.089 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009772/0.8852, allocations: 255 kB / 1.089 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009966/0.8862, allocations: 223.8 kB / 1.09 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8862, allocations: 0 / 1.09 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006485/0.8927, allocations: 0.8926 MB / 1.09 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.8928, allocations: 4.938 kB / 1.09 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8928, allocations: 0 / 1.09 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/0.8946, allocations: 281.4 kB / 1.091 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.895, allocations: 67.89 kB / 1.091 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.9084, allocations: 3.866 MB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/0.9093, allocations: 79.48 kB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/0.9094, allocations: 15.97 kB / 1.095 GB, free: 14.75 MB / 0.8575 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.0002253/0.9096, allocations: 145.8 kB / 1.095 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.9097, allocations: 31.62 kB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006805/0.9165, allocations: 0.9511 MB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.9166, allocations: 0 / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.9166, allocations: 11.94 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.9166, allocations: 0 / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.9172, allocations: 416.9 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9172, allocations: 0 / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.9176, allocations: 59.89 kB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.9194, allocations: 277.4 kB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/0.9194, allocations: 19.92 kB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.9328, allocations: 3.864 MB / 1.1 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9329, allocations: 0 / 1.1 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006761/0.9396, allocations: 0.9581 MB / 1.101 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.9398, allocations: 116.6 kB / 1.101 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.9399, allocations: 7.984 kB / 1.101 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.9406, allocations: 47.95 kB / 1.101 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.9407, allocations: 11.98 kB / 1.101 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.9408, allocations: 19.97 kB / 1.101 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002313/0.941, allocations: 223 kB / 1.102 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.941, allocations: 0 / 1.102 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000617/0.9416, allocations: 116 kB / 1.102 GB, free: 7.125 MB / 0.8575 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.006948/0.9486, allocations: 1.51 MB / 1.103 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002774/0.9514, allocations: 0.7315 MB / 1.104 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9514, allocations: 0 / 1.104 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.953, allocations: 0.5012 MB / 1.104 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.9536, allocations: 97.23 kB / 1.105 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.9651, allocations: 2.921 MB / 1.107 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.9655, allocations: 0.7764 MB / 1.108 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005903/0.9661, allocations: 74.89 kB / 1.108 GB, free: 344 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.9663, allocations: 103.4 kB / 1.108 GB, free: 240 kB / 0.8575 GB Notification: Performance of SimCode: time 1.653e-06/0.9663, allocations: 3.938 kB / 1.108 GB, free: 236 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.9971, allocations: 15.66 MB / 1.124 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.9973, allocations: 206.2 kB / 1.124 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.915, allocations: 0 / 1.124 GB, free: 0.5273 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat does not exist to compare? outputFormat=mat