Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",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.351/2.351, allocations: 393.5 MB / 408.4 MB, free: 11 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.001107/0.001107, allocations: 179.3 kB / 0.4901 GB, free: 2.25 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.466/1.466, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001098/0.001098, allocations: 104.2 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003831, allocations: 8.516 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3579, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.527/4.885, allocations: 1.733 GB / 2.962 GB, free: 254.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/4.885, allocations: 89.08 kB / 2.962 GB, free: 254.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1068/4.992, allocations: 55.16 MB / 3.016 GB, free: 198.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.267e-06/4.992, allocations: 3.938 kB / 3.016 GB, free: 198.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.64e-05/4.992, allocations: 15.94 kB / 3.016 GB, free: 198.5 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.002117/4.994, allocations: 1.051 MB / 3.017 GB, free: 197.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/4.994, allocations: 12.56 kB / 3.017 GB, free: 197.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/4.994, allocations: 54.55 kB / 3.017 GB, free: 197.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/4.996, allocations: 190.7 kB / 3.017 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/4.998, allocations: 0.5307 MB / 3.018 GB, free: 196.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/4.998, allocations: 16.38 kB / 3.018 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/4.998, allocations: 23.95 kB / 3.018 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009598/4.999, allocations: 335.7 kB / 3.018 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/4.999, allocations: 4 kB / 3.018 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/4.999, allocations: 4 kB / 3.018 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/4.999, allocations: 4 kB / 3.018 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/5, allocations: 368.6 kB / 3.018 GB, free: 195.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/5.003, allocations: 1.214 MB / 3.019 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/5.004, allocations: 417.4 kB / 3.02 GB, free: 194.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/5.004, allocations: 7.984 kB / 3.02 GB, free: 194.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008596/5.005, allocations: 317.6 kB / 3.02 GB, free: 193.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.946e-06/5.005, allocations: 0 / 3.02 GB, free: 193.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.01005/5.015, allocations: 1.227 MB / 3.021 GB, free: 192.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/5.015, allocations: 81.11 kB / 3.021 GB, free: 192.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/5.017, allocations: 1.232 MB / 3.023 GB, free: 191.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.643e-05/5.017, allocations: 33.7 kB / 3.023 GB, free: 191.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/5.017, allocations: 360.5 kB / 3.023 GB, free: 190.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/5.018, allocations: 102.6 kB / 3.023 GB, free: 190.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/5.018, allocations: 8 kB / 3.023 GB, free: 190.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/5.018, allocations: 321.9 kB / 3.023 GB, free: 190.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/5.018, allocations: 171.9 kB / 3.024 GB, free: 190.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/5.019, allocations: 241.7 kB / 3.024 GB, free: 189.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/5.02, allocations: 188.5 kB / 3.024 GB, free: 189.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/5.02, allocations: 0 / 3.024 GB, free: 189.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004533/5.024, allocations: 0.7204 MB / 3.025 GB, free: 189 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/5.024, allocations: 8 kB / 3.025 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/5.024, allocations: 0 / 3.025 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/5.026, allocations: 184.7 kB / 3.025 GB, free: 188.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/5.026, allocations: 59.89 kB / 3.025 GB, free: 188.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008466/5.034, allocations: 2.177 MB / 3.027 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007138/5.035, allocations: 44.06 kB / 3.027 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/5.035, allocations: 24.05 kB / 3.027 GB, free: 186.4 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.0004964/5.036, allocations: 300.3 kB / 3.027 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/5.036, allocations: 82.97 kB / 3.028 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/5.041, allocations: 0.8409 MB / 3.028 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/5.041, allocations: 15.89 kB / 3.028 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/5.041, allocations: 0 / 3.028 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/5.041, allocations: 7.984 kB / 3.028 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008951/5.042, allocations: 0.6483 MB / 3.029 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/5.042, allocations: 0 / 3.029 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/5.042, allocations: 55.91 kB / 3.029 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/5.043, allocations: 180.6 kB / 3.029 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/5.043, allocations: 15.94 kB / 3.029 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007969/5.051, allocations: 2.173 MB / 3.031 GB, free: 181.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/5.051, allocations: 0 / 3.031 GB, free: 181.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004634/5.056, allocations: 0.8006 MB / 3.032 GB, free: 181 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/5.056, allocations: 231.9 kB / 3.032 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/5.057, allocations: 8 kB / 3.032 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/5.057, allocations: 39.88 kB / 3.032 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/5.057, allocations: 27.97 kB / 3.032 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/5.057, allocations: 15.97 kB / 3.032 GB, free: 180.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001111/5.058, allocations: 0.9949 MB / 3.033 GB, free: 179.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/5.058, allocations: 0 / 3.033 GB, free: 179.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007462/5.059, allocations: 215.9 kB / 3.034 GB, free: 179.5 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.006334/5.066, allocations: 2.25 MB / 3.036 GB, free: 177.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00188/5.067, allocations: 0.5686 MB / 3.036 GB, free: 176.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/5.067, allocations: 0 / 3.036 GB, free: 176.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009632/5.068, allocations: 386.4 kB / 3.037 GB, free: 176.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/5.069, allocations: 104.4 kB / 3.037 GB, free: 176.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/5.08, allocations: 5.722 MB / 3.042 GB, free: 170.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/5.08, allocations: 0.989 MB / 3.043 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005193/5.081, allocations: 138.7 kB / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/5.081, allocations: 267.2 kB / 3.044 GB, free: 169 MB / 1.167 GB Notification: Performance of SimCode: time 1.102e-06/5.081, allocations: 0 / 3.044 GB, free: 169 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/5.124, allocations: 28.44 MB / 3.072 GB, free: 140.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/5.125, allocations: 244.7 kB / 3.072 GB, free: 140.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/8.203, allocations: 0 / 3.072 GB, free: 140.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat does not exist to compare? outputFormat=mat