Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",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.615/2.615, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001176/0.001175, allocations: 185 kB / 498.1 MB, free: 5.734 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.826/1.826, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001053/0.001053, allocations: 108.7 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003899, allocations: 8.375 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3347, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.331/4.666, allocations: 1.732 GB / 2.955 GB, free: 287.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/4.666, allocations: 88.61 kB / 2.955 GB, free: 287.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1888/4.855, allocations: 55.17 MB / 3.009 GB, free: 231.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.894e-06/4.855, allocations: 0 / 3.009 GB, free: 231.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.538e-05/4.855, allocations: 12 kB / 3.009 GB, free: 231.9 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001753/4.857, allocations: 1.058 MB / 3.01 GB, free: 230.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/4.857, allocations: 8.031 kB / 3.01 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.339e-05/4.857, allocations: 50.55 kB / 3.01 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/4.859, allocations: 190.8 kB / 3.01 GB, free: 230.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/4.86, allocations: 0.5307 MB / 3.01 GB, free: 230 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/4.86, allocations: 20.31 kB / 3.01 GB, free: 230 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/4.86, allocations: 23.95 kB / 3.011 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009189/4.861, allocations: 331.2 kB / 3.011 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/4.861, allocations: 0 / 3.011 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/4.861, allocations: 4 kB / 3.011 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/4.861, allocations: 4 kB / 3.011 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/4.862, allocations: 364.6 kB / 3.011 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/4.865, allocations: 1.21 MB / 3.012 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/4.866, allocations: 425.3 kB / 3.013 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/4.866, allocations: 7.938 kB / 3.013 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008355/4.867, allocations: 309.8 kB / 3.013 GB, free: 227.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/4.867, allocations: 0 / 3.013 GB, free: 227.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.01018/4.877, allocations: 1.225 MB / 3.014 GB, free: 225.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/4.877, allocations: 85.11 kB / 3.014 GB, free: 225.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/4.879, allocations: 1.228 MB / 3.016 GB, free: 224.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/4.88, allocations: 33.7 kB / 3.016 GB, free: 224.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/4.88, allocations: 364.5 kB / 3.016 GB, free: 224.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/4.88, allocations: 94.64 kB / 3.016 GB, free: 224.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/4.88, allocations: 12 kB / 3.016 GB, free: 224.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/4.88, allocations: 321.9 kB / 3.016 GB, free: 223.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/4.881, allocations: 179.9 kB / 3.017 GB, free: 223.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/4.881, allocations: 229.9 kB / 3.017 GB, free: 223.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/4.882, allocations: 193.3 kB / 3.017 GB, free: 223.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/4.882, allocations: 4 kB / 3.017 GB, free: 223.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00458/4.887, allocations: 0.7157 MB / 3.018 GB, free: 222.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/4.887, allocations: 4 kB / 3.018 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/4.887, allocations: 3.938 kB / 3.018 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/4.888, allocations: 184.7 kB / 3.018 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/4.888, allocations: 63.89 kB / 3.018 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/4.899, allocations: 2.183 MB / 3.02 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/4.9, allocations: 47.78 kB / 3.02 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/4.9, allocations: 11.98 kB / 3.02 GB, free: 219.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007372/4.901, allocations: 289.7 kB / 3.02 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/4.901, allocations: 86.95 kB / 3.02 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006985/4.908, allocations: 0.8525 MB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/4.908, allocations: 7.953 kB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/4.908, allocations: 4 kB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/4.908, allocations: 3.984 kB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/4.909, allocations: 0.6405 MB / 3.022 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/4.909, allocations: 7.922 kB / 3.022 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/4.91, allocations: 59.91 kB / 3.022 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/4.911, allocations: 180.6 kB / 3.022 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/4.911, allocations: 15.94 kB / 3.022 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008225/4.919, allocations: 2.181 MB / 3.024 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/4.919, allocations: 0 / 3.024 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/4.924, allocations: 0.8132 MB / 3.025 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/4.925, allocations: 227.8 kB / 3.025 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/4.925, allocations: 16.06 kB / 3.025 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/4.925, allocations: 35.97 kB / 3.025 GB, free: 214.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/4.925, allocations: 23.97 kB / 3.025 GB, free: 214.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/4.926, allocations: 15.97 kB / 3.025 GB, free: 214.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001234/4.927, allocations: 0.9949 MB / 3.026 GB, free: 213.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.71e-07/4.927, allocations: 4 kB / 3.026 GB, free: 213.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008133/4.928, allocations: 211.9 kB / 3.027 GB, free: 212.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006274/4.934, allocations: 2.249 MB / 3.029 GB, free: 210.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001864/4.936, allocations: 0.5608 MB / 3.029 GB, free: 210.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/4.936, allocations: 0 / 3.029 GB, free: 210.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009646/4.937, allocations: 386.4 kB / 3.03 GB, free: 209.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/4.937, allocations: 108.7 kB / 3.03 GB, free: 209.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/4.948, allocations: 5.706 MB / 3.035 GB, free: 203.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/4.949, allocations: 0.989 MB / 3.036 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005344/4.949, allocations: 134.7 kB / 3.036 GB, free: 202.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/4.95, allocations: 267.2 kB / 3.037 GB, free: 202.4 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/4.95, allocations: 0 / 3.037 GB, free: 202.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04946/4.999, allocations: 28.44 MB / 3.064 GB, free: 174.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/5, allocations: 243 kB / 3.065 GB, free: 174 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/7.802, allocations: 0 / 3.065 GB, free: 174 MB / 1.167 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat does not exist to compare? outputFormat=mat