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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.00133/0.00133, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.537/1.537, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.001109/0.001109, allocations: 91.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.755e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2528, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.248/4.501, allocations: 1.728 GB / 2.934 GB, free: 155.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/4.501, allocations: 79.95 kB / 2.934 GB, free: 155.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09498/4.596, allocations: 50.18 MB / 2.983 GB, free: 104.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.272e-06/4.596, allocations: 0 / 2.983 GB, free: 104.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.15e-05/4.596, allocations: 11.98 kB / 2.983 GB, free: 104.9 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001125/4.597, allocations: 0.6355 MB / 2.984 GB, free: 104.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/4.597, allocations: 12.03 kB / 2.984 GB, free: 104.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/4.6, allocations: 251.2 kB / 2.984 GB, free: 104 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/4.6, allocations: 299.5 kB / 2.984 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/4.6, allocations: 8 kB / 2.984 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/4.6, allocations: 16 kB / 2.984 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000622/4.601, allocations: 380.9 kB / 2.985 GB, free: 103.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/4.601, allocations: 327.5 kB / 2.985 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/4.601, allocations: 0 / 2.985 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/4.601, allocations: 0 / 2.985 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/4.601, allocations: 4 kB / 2.985 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/4.604, allocations: 1.07 MB / 2.986 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/4.605, allocations: 314.5 kB / 2.986 GB, free: 101.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/4.605, allocations: 152.8 kB / 2.987 GB, free: 101.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/4.605, allocations: 12.38 kB / 2.987 GB, free: 101.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/4.605, allocations: 38.55 kB / 2.987 GB, free: 101.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/4.605, allocations: 0 / 2.987 GB, free: 101.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.004654/4.61, allocations: 0.6433 MB / 2.987 GB, free: 100.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/4.61, allocations: 55.41 kB / 2.987 GB, free: 100.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/4.61, allocations: 187.9 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/4.61, allocations: 25.7 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/4.61, allocations: 176 kB / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/4.61, allocations: 86.75 kB / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/4.61, allocations: 0 / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/4.61, allocations: 330.8 kB / 2.988 GB, free: 99.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/4.61, allocations: 124.5 kB / 2.988 GB, free: 99.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/4.611, allocations: 182.7 kB / 2.988 GB, free: 99.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/4.611, allocations: 156.4 kB / 2.989 GB, free: 99.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/4.611, allocations: 0 / 2.989 GB, free: 99.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004518/4.615, allocations: 0.6821 MB / 2.989 GB, free: 98.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/4.615, allocations: 14.14 kB / 2.989 GB, free: 98.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/4.615, allocations: 0 / 2.989 GB, free: 98.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/4.616, allocations: 173.5 kB / 2.989 GB, free: 98.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/4.617, allocations: 67.88 kB / 2.989 GB, free: 98.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/4.623, allocations: 3.199 MB / 2.993 GB, free: 94.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/4.624, allocations: 55.89 kB / 2.993 GB, free: 94.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/4.624, allocations: 19.97 kB / 2.993 GB, free: 94.79 MB / 1.151 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 () * 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.0001242/4.624, allocations: 104.9 kB / 2.993 GB, free: 94.68 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004424/4.628, allocations: 0.6477 MB / 2.993 GB, free: 94.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/4.628, allocations: 23.72 kB / 2.993 GB, free: 94 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/4.633, allocations: 0.7307 MB / 2.994 GB, free: 93.26 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/4.633, allocations: 7.953 kB / 2.994 GB, free: 93.25 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/4.633, allocations: 0 / 2.994 GB, free: 93.25 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/4.633, allocations: 3.984 kB / 2.994 GB, free: 93.25 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/4.633, allocations: 373.7 kB / 2.994 GB, free: 92.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/4.633, allocations: 4 kB / 2.995 GB, free: 92.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/4.634, allocations: 59.89 kB / 2.995 GB, free: 92.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/4.634, allocations: 173.5 kB / 2.995 GB, free: 92.61 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/4.634, allocations: 15.92 kB / 2.995 GB, free: 92.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/4.64, allocations: 3.191 MB / 2.998 GB, free: 89.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/4.64, allocations: 0 / 2.998 GB, free: 89.16 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/4.645, allocations: 0.7347 MB / 2.999 GB, free: 88.41 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/4.645, allocations: 104.8 kB / 2.999 GB, free: 88.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/4.645, allocations: 0 / 2.999 GB, free: 88.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/4.646, allocations: 39.95 kB / 2.999 GB, free: 88.25 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/4.646, allocations: 23.97 kB / 2.999 GB, free: 88.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/4.646, allocations: 15.97 kB / 2.999 GB, free: 88.21 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001113/4.646, allocations: 152.5 kB / 2.999 GB, free: 88.06 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/4.646, allocations: 0 / 2.999 GB, free: 88.06 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007277/4.647, allocations: 151.8 kB / 2.999 GB, free: 87.91 MB / 1.151 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 () * 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.005352/4.652, allocations: 1.879 MB / 3.001 GB, free: 86.01 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001056/4.653, allocations: 0.5623 MB / 3.001 GB, free: 85.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/4.653, allocations: 4.125 kB / 3.001 GB, free: 85.43 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/4.654, allocations: 415.4 kB / 3.002 GB, free: 85 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/4.654, allocations: 64.3 kB / 3.002 GB, free: 84.93 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/4.656, allocations: 0.4987 MB / 3.002 GB, free: 84.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/4.656, allocations: 0.7796 MB / 3.003 GB, free: 83.59 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004227/4.656, allocations: 65.98 kB / 3.003 GB, free: 83.52 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/4.656, allocations: 95.38 kB / 3.003 GB, free: 83.43 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/4.656, allocations: 4 kB / 3.003 GB, free: 83.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/4.693, allocations: 18.38 MB / 3.021 GB, free: 65.09 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/4.693, allocations: 125.5 kB / 3.021 GB, free: 64.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/7.202, allocations: 3.938 kB / 3.021 GB, free: 64.9 MB / 1.151 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