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.041/2.041, allocations: 390.5 MB / 398 MB, free: 10.94 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.0009596/0.0009596, allocations: 184.4 kB / 491.2 MB, free: 1.535 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.33/1.33, allocations: 221.5 MB / 0.7868 GB, free: 13.23 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.0008837/0.0008841, allocations: 95.56 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.353e-05/1.355e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.444/3.662, allocations: 1.732 GB / 2.944 GB, free: 106.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/3.663, allocations: 79.8 kB / 2.944 GB, free: 106.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.0962/3.759, allocations: 54.25 MB / 2.997 GB, free: 57 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.352e-06/3.759, allocations: 4 kB / 2.997 GB, free: 56.99 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.833e-05/3.759, allocations: 8 kB / 2.997 GB, free: 56.98 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001081/3.76, allocations: 0.8998 MB / 2.998 GB, free: 56.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/3.76, allocations: 12.03 kB / 2.998 GB, free: 56.02 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/3.761, allocations: 190.7 kB / 2.998 GB, free: 55.84 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/3.762, allocations: 0.5269 MB / 2.999 GB, free: 55.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/3.762, allocations: 8 kB / 2.999 GB, free: 55.26 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/3.762, allocations: 19.95 kB / 2.999 GB, free: 55.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003789/3.762, allocations: 288.5 kB / 2.999 GB, free: 54.96 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/3.763, allocations: 274.7 kB / 2.999 GB, free: 54.67 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/3.763, allocations: 0 / 2.999 GB, free: 54.67 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/3.763, allocations: 0 / 2.999 GB, free: 54.67 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/3.763, allocations: 4 kB / 2.999 GB, free: 54.67 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/3.765, allocations: 1.175 MB / 3.001 GB, free: 53.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/3.765, allocations: 353.5 kB / 3.001 GB, free: 53.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/3.765, allocations: 165.7 kB / 3.001 GB, free: 52.91 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/3.765, allocations: 7.984 kB / 3.001 GB, free: 52.91 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/3.765, allocations: 265.3 kB / 3.001 GB, free: 52.63 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/3.765, allocations: 0 / 3.001 GB, free: 52.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.00261/3.768, allocations: 0.6159 MB / 3.002 GB, free: 52 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/3.768, allocations: 81.05 kB / 3.002 GB, free: 51.91 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/3.769, allocations: 1.176 MB / 3.003 GB, free: 50.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/3.769, allocations: 25.7 kB / 3.003 GB, free: 50.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/3.77, allocations: 372.3 kB / 3.004 GB, free: 50.33 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/3.77, allocations: 94.72 kB / 3.004 GB, free: 50.23 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/3.77, allocations: 0 / 3.004 GB, free: 50.23 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.089e-05/3.77, allocations: 321.9 kB / 3.004 GB, free: 49.91 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/3.77, allocations: 128 kB / 3.004 GB, free: 49.79 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/3.77, allocations: 197.9 kB / 3.004 GB, free: 49.57 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/3.77, allocations: 153.6 kB / 3.004 GB, free: 49.43 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/3.77, allocations: 3.938 kB / 3.004 GB, free: 49.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002455/3.773, allocations: 0.6261 MB / 3.005 GB, free: 48.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/3.773, allocations: 7.984 kB / 3.005 GB, free: 48.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/3.773, allocations: 0 / 3.005 GB, free: 48.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/3.773, allocations: 124.8 kB / 3.005 GB, free: 48.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/3.774, allocations: 67.89 kB / 3.005 GB, free: 48.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/3.777, allocations: 1.795 MB / 3.007 GB, free: 46.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/3.777, allocations: 43.75 kB / 3.007 GB, free: 46.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/3.777, allocations: 11.98 kB / 3.007 GB, free: 46.62 MB / 1.151 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 () * 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 9.728e-05/3.777, allocations: 113.9 kB / 3.007 GB, free: 46.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002479/3.78, allocations: 0.626 MB / 3.008 GB, free: 45.87 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/3.78, allocations: 78.97 kB / 3.008 GB, free: 45.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/3.783, allocations: 0.7507 MB / 3.009 GB, free: 45.02 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/3.783, allocations: 4 kB / 3.009 GB, free: 45.02 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/3.783, allocations: 0 / 3.009 GB, free: 45.02 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/3.783, allocations: 7.922 kB / 3.009 GB, free: 45.01 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/3.783, allocations: 0.602 MB / 3.009 GB, free: 44.37 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/3.783, allocations: 0 / 3.009 GB, free: 44.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/3.783, allocations: 51.97 kB / 3.009 GB, free: 44.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/3.784, allocations: 140.5 kB / 3.009 GB, free: 44.18 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/3.784, allocations: 11.98 kB / 3.009 GB, free: 44.17 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/3.787, allocations: 1.798 MB / 3.011 GB, free: 42.26 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/3.787, allocations: 0 / 3.011 GB, free: 42.26 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/3.789, allocations: 0.7014 MB / 3.012 GB, free: 41.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/3.79, allocations: 224.1 kB / 3.012 GB, free: 41.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/3.79, allocations: 11.98 kB / 3.012 GB, free: 41.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/3.79, allocations: 27.98 kB / 3.012 GB, free: 41.25 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/3.79, allocations: 23.95 kB / 3.012 GB, free: 41.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/3.79, allocations: 15.98 kB / 3.012 GB, free: 41.21 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008992/3.791, allocations: 0.9364 MB / 3.013 GB, free: 40.28 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/3.791, allocations: 0 / 3.013 GB, free: 40.28 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006997/3.792, allocations: 203.8 kB / 3.013 GB, free: 40.08 MB / 1.151 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) * 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.004169/3.796, allocations: 2.157 MB / 3.015 GB, free: 37.97 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007326/3.797, allocations: 489.4 kB / 3.016 GB, free: 37.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/3.797, allocations: 0 / 3.016 GB, free: 37.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/3.797, allocations: 333.8 kB / 3.016 GB, free: 37.15 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/3.798, allocations: 104.4 kB / 3.016 GB, free: 37.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/3.799, allocations: 1.554 MB / 3.018 GB, free: 35.45 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/3.8, allocations: 0.9927 MB / 3.019 GB, free: 34.44 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003558/3.8, allocations: 131 kB / 3.019 GB, free: 34.31 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/3.8, allocations: 271.2 kB / 3.019 GB, free: 34.04 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/3.8, allocations: 0 / 3.019 GB, free: 34.04 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/3.837, allocations: 22.41 MB / 3.041 GB, free: 11.69 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/3.838, allocations: 172.3 kB / 3.041 GB, free: 11.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/6.138, allocations: 0 / 3.041 GB, free: 11.5 MB / 1.151 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