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.038/2.038, allocations: 390.5 MB / 398 MB, free: 10.97 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.001012/0.001012, allocations: 187.4 kB / 491.2 MB, free: 1.59 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.329/1.329, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0008338/0.0008341, allocations: 94.53 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.782e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2281, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.452/3.681, allocations: 1.729 GB / 2.941 GB, free: 136.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/3.681, allocations: 80.61 kB / 2.941 GB, free: 136.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09184/3.773, allocations: 50.18 MB / 2.99 GB, free: 85.38 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.352e-06/3.773, allocations: 0 / 2.99 GB, free: 85.38 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.727e-05/3.773, allocations: 12 kB / 2.99 GB, free: 85.37 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.0009646/3.774, allocations: 0.6472 MB / 2.991 GB, free: 84.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/3.774, allocations: 12.22 kB / 2.991 GB, free: 84.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/3.776, allocations: 235.4 kB / 2.991 GB, free: 84.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/3.777, allocations: 304 kB / 2.992 GB, free: 84.09 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/3.777, allocations: 12 kB / 2.992 GB, free: 84.08 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/3.777, allocations: 19.95 kB / 2.992 GB, free: 84.06 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006006/3.777, allocations: 381 kB / 2.992 GB, free: 83.69 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/3.778, allocations: 319.5 kB / 2.992 GB, free: 83.37 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/3.778, allocations: 0 / 2.992 GB, free: 83.37 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/3.778, allocations: 0 / 2.992 GB, free: 83.37 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/3.778, allocations: 4 kB / 2.992 GB, free: 83.37 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/3.78, allocations: 1.073 MB / 2.993 GB, free: 82.25 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/3.781, allocations: 310.6 kB / 2.994 GB, free: 81.94 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/3.781, allocations: 152.8 kB / 2.994 GB, free: 81.79 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/3.781, allocations: 7.984 kB / 2.994 GB, free: 81.78 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/3.781, allocations: 30.56 kB / 2.994 GB, free: 81.74 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.222e-06/3.781, allocations: 0 / 2.994 GB, free: 81.74 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.004464/3.786, allocations: 0.6571 MB / 2.994 GB, free: 81.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/3.786, allocations: 51.41 kB / 2.994 GB, free: 81.01 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/3.786, allocations: 183.9 kB / 2.995 GB, free: 80.83 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/3.786, allocations: 25.7 kB / 2.995 GB, free: 80.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/3.786, allocations: 176 kB / 2.995 GB, free: 80.62 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/3.786, allocations: 86.75 kB / 2.995 GB, free: 80.54 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/3.786, allocations: 4 kB / 2.995 GB, free: 80.53 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/3.786, allocations: 330.8 kB / 2.995 GB, free: 80.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/3.786, allocations: 124.5 kB / 2.995 GB, free: 80.07 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/3.787, allocations: 174.8 kB / 2.996 GB, free: 79.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/3.787, allocations: 155.9 kB / 2.996 GB, free: 79.73 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/3.787, allocations: 3.938 kB / 2.996 GB, free: 79.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004354/3.791, allocations: 0.6826 MB / 2.996 GB, free: 79.03 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/3.791, allocations: 11.94 kB / 2.996 GB, free: 79.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/3.791, allocations: 4 kB / 2.996 GB, free: 79.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/3.792, allocations: 169.6 kB / 2.997 GB, free: 78.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/3.792, allocations: 71.88 kB / 2.997 GB, free: 78.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/3.798, allocations: 3.191 MB / 3 GB, free: 75.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/3.799, allocations: 63.77 kB / 3 GB, free: 75.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/3.799, allocations: 15.97 kB / 3 GB, free: 75.27 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.0001148/3.799, allocations: 108.9 kB / 3 GB, free: 75.15 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004304/3.803, allocations: 0.6475 MB / 3.001 GB, free: 74.49 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/3.804, allocations: 27.7 kB / 3.001 GB, free: 74.46 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/3.808, allocations: 0.7315 MB / 3.001 GB, free: 73.73 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/3.808, allocations: 4 kB / 3.001 GB, free: 73.72 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/3.808, allocations: 4 kB / 3.001 GB, free: 73.72 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/3.808, allocations: 3.984 kB / 3.001 GB, free: 73.71 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/3.808, allocations: 365.8 kB / 3.002 GB, free: 73.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/3.808, allocations: 0 / 3.002 GB, free: 73.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/3.809, allocations: 67.86 kB / 3.002 GB, free: 73.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/3.809, allocations: 169.5 kB / 3.002 GB, free: 73.08 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/3.809, allocations: 15.97 kB / 3.002 GB, free: 73.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005768/3.815, allocations: 3.203 MB / 3.005 GB, free: 69.63 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/3.815, allocations: 0 / 3.005 GB, free: 69.63 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/3.819, allocations: 0.7349 MB / 3.006 GB, free: 68.88 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/3.819, allocations: 108.8 kB / 3.006 GB, free: 68.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/3.82, allocations: 0 / 3.006 GB, free: 68.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/3.82, allocations: 47.89 kB / 3.006 GB, free: 68.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/3.82, allocations: 19.97 kB / 3.006 GB, free: 68.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/3.82, allocations: 15.97 kB / 3.006 GB, free: 68.67 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000103/3.82, allocations: 152.5 kB / 3.006 GB, free: 68.52 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/3.82, allocations: 0 / 3.006 GB, free: 68.52 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006425/3.821, allocations: 151.8 kB / 3.006 GB, free: 68.37 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.004907/3.826, allocations: 1.879 MB / 3.008 GB, free: 66.46 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009046/3.827, allocations: 0.554 MB / 3.009 GB, free: 65.89 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/3.827, allocations: 0 / 3.009 GB, free: 65.89 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005458/3.827, allocations: 419.9 kB / 3.009 GB, free: 65.46 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/3.828, allocations: 61.61 kB / 3.009 GB, free: 65.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/3.829, allocations: 0.4987 MB / 3.01 GB, free: 64.86 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/3.829, allocations: 0.7796 MB / 3.01 GB, free: 64.05 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004039/3.83, allocations: 65.98 kB / 3.01 GB, free: 63.98 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/3.83, allocations: 91.39 kB / 3.01 GB, free: 63.89 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/3.83, allocations: 0 / 3.01 GB, free: 63.89 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/3.864, allocations: 18.37 MB / 3.028 GB, free: 45.56 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/3.864, allocations: 135.7 kB / 3.028 GB, free: 45.36 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/5.99, allocations: 0 / 3.028 GB, free: 45.36 MB / 1.151 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