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.158/2.158, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001244/0.001244, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.452/1.452, allocations: 221.3 MB / 0.7915 GB, free: 5.473 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.0009691/0.0009691, allocations: 91.94 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.949e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2386, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.049/4.288, allocations: 1.73 GB / 2.948 GB, free: 106.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/4.288, allocations: 75.95 kB / 2.948 GB, free: 106.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.09701/4.385, allocations: 50.96 MB / 2.998 GB, free: 54.77 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.315e-06/4.385, allocations: 0 / 2.998 GB, free: 54.77 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.443e-05/4.385, allocations: 12.19 kB / 2.998 GB, free: 54.75 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.001317/4.386, allocations: 0.6432 MB / 2.999 GB, free: 54.07 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/4.386, allocations: 15.97 kB / 2.999 GB, free: 54.05 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/4.386, allocations: 66.53 kB / 2.999 GB, free: 53.98 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/4.389, allocations: 239.4 kB / 2.999 GB, free: 53.74 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/4.389, allocations: 307.2 kB / 2.999 GB, free: 53.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/4.389, allocations: 24.52 kB / 3 GB, free: 53.38 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/4.39, allocations: 28 kB / 3 GB, free: 53.35 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/4.39, allocations: 348.7 kB / 3 GB, free: 53 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/4.39, allocations: 4 kB / 3 GB, free: 53 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/4.39, allocations: 12 kB / 3 GB, free: 52.98 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/4.39, allocations: 4 kB / 3 GB, free: 52.98 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/4.391, allocations: 394 kB / 3 GB, free: 52.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/4.394, allocations: 1.159 MB / 3.001 GB, free: 51.38 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/4.394, allocations: 324.9 kB / 3.002 GB, free: 51.06 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/4.395, allocations: 164.8 kB / 3.002 GB, free: 50.89 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/4.395, allocations: 4 kB / 3.002 GB, free: 50.89 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/4.395, allocations: 34.56 kB / 3.002 GB, free: 50.85 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 4.157e-06/4.395, allocations: 0 / 3.002 GB, free: 50.85 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.004558/4.399, allocations: 0.6534 MB / 3.003 GB, free: 50.18 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/4.399, allocations: 59.41 kB / 3.003 GB, free: 50.11 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/4.4, allocations: 266.8 kB / 3.003 GB, free: 49.85 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/4.4, allocations: 29.7 kB / 3.003 GB, free: 49.81 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/4.4, allocations: 172.2 kB / 3.003 GB, free: 49.64 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/4.4, allocations: 86.73 kB / 3.003 GB, free: 49.55 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/4.4, allocations: 8 kB / 3.003 GB, free: 49.55 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/4.4, allocations: 338.8 kB / 3.003 GB, free: 49.21 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/4.4, allocations: 124.5 kB / 3.004 GB, free: 49.08 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/4.401, allocations: 191.1 kB / 3.004 GB, free: 48.88 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/4.401, allocations: 144.4 kB / 3.004 GB, free: 48.73 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/4.401, allocations: 4 kB / 3.004 GB, free: 48.73 MB / 1.167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004326/4.405, allocations: 0.6859 MB / 3.005 GB, free: 48.03 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/4.405, allocations: 11.98 kB / 3.005 GB, free: 48.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/4.405, allocations: 0 / 3.005 GB, free: 48.02 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/4.406, allocations: 177.5 kB / 3.005 GB, free: 47.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/4.406, allocations: 71.88 kB / 3.005 GB, free: 47.77 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/4.413, allocations: 3.292 MB / 3.008 GB, free: 44.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009633/4.414, allocations: 83.55 kB / 3.008 GB, free: 44.13 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/4.414, allocations: 23.95 kB / 3.008 GB, free: 44.11 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 () * 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.0001436/4.415, allocations: 126.7 kB / 3.008 GB, free: 43.98 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/4.415, allocations: 31.62 kB / 3.008 GB, free: 43.95 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/4.419, allocations: 0.7474 MB / 3.009 GB, free: 43.18 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/4.419, allocations: 4 kB / 3.009 GB, free: 43.18 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/4.419, allocations: 7.891 kB / 3.009 GB, free: 43.17 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/4.419, allocations: 0 / 3.009 GB, free: 43.17 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/4.42, allocations: 417.1 kB / 3.009 GB, free: 42.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/4.42, allocations: 0 / 3.009 GB, free: 42.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/4.42, allocations: 59.94 kB / 3.009 GB, free: 42.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005283/4.421, allocations: 169.5 kB / 3.01 GB, free: 42.48 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/4.421, allocations: 23.86 kB / 3.01 GB, free: 42.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006303/4.427, allocations: 3.294 MB / 3.013 GB, free: 38.89 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/4.427, allocations: 0 / 3.013 GB, free: 38.89 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/4.432, allocations: 0.77 MB / 3.014 GB, free: 38.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/4.432, allocations: 116.6 kB / 3.014 GB, free: 37.97 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/4.432, allocations: 8 kB / 3.014 GB, free: 37.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/4.433, allocations: 47.95 kB / 3.014 GB, free: 37.91 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/4.433, allocations: 15.97 kB / 3.014 GB, free: 37.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/4.433, allocations: 19.97 kB / 3.014 GB, free: 37.88 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002336/4.433, allocations: 222.2 kB / 3.014 GB, free: 37.66 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/4.433, allocations: 4 kB / 3.014 GB, free: 37.66 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008339/4.434, allocations: 155.9 kB / 3.014 GB, free: 37.5 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 () * 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.005363/4.439, allocations: 1.813 MB / 3.016 GB, free: 35.67 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001235/4.441, allocations: 0.5756 MB / 3.017 GB, free: 35.07 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/4.441, allocations: 0 / 3.017 GB, free: 35.07 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006901/4.441, allocations: 449.1 kB / 3.017 GB, free: 34.61 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/4.442, allocations: 99.55 kB / 3.017 GB, free: 34.51 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/4.444, allocations: 0.5296 MB / 3.018 GB, free: 33.95 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/4.444, allocations: 0.7764 MB / 3.018 GB, free: 33.14 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004769/4.445, allocations: 78.88 kB / 3.018 GB, free: 33.07 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/4.445, allocations: 103.4 kB / 3.019 GB, free: 32.96 MB / 1.167 GB Notification: Performance of SimCode: time 7.01e-07/4.445, allocations: 0 / 3.019 GB, free: 32.96 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04658/4.491, allocations: 27.12 MB / 3.045 GB, free: 6.012 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/4.492, allocations: 176 kB / 3.045 GB, free: 5.789 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/7.173, allocations: 0 / 3.045 GB, free: 5.789 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