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.353/2.353, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001288/0.001288, allocations: 172.8 kB / 487.4 MB, free: 5.043 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.601/1.601, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009717, allocations: 95.84 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.088e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2725, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.314/4.586, allocations: 1.731 GB / 2.937 GB, free: 127.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/4.587, allocations: 83.27 kB / 2.937 GB, free: 127.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1068/4.694, allocations: 54.24 MB / 2.99 GB, free: 78.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.954e-06/4.694, allocations: 0 / 2.99 GB, free: 78.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.308e-05/4.694, allocations: 15.98 kB / 2.99 GB, free: 78.19 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.001666/4.695, allocations: 0.9037 MB / 2.991 GB, free: 77.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/4.696, allocations: 12.03 kB / 2.991 GB, free: 77.22 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/4.697, allocations: 182.8 kB / 2.991 GB, free: 77.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009453/4.698, allocations: 0.5346 MB / 2.992 GB, free: 76.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/4.698, allocations: 7.938 kB / 2.992 GB, free: 76.45 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/4.698, allocations: 12 kB / 2.992 GB, free: 76.44 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004884/4.699, allocations: 288.5 kB / 2.992 GB, free: 76.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/4.699, allocations: 270.7 kB / 2.992 GB, free: 75.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/4.699, allocations: 3.938 kB / 2.992 GB, free: 75.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/4.699, allocations: 4 kB / 2.992 GB, free: 75.87 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/4.699, allocations: 11.98 kB / 2.992 GB, free: 75.86 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/4.701, allocations: 1.156 MB / 2.993 GB, free: 74.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/4.702, allocations: 353.5 kB / 2.994 GB, free: 74.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/4.702, allocations: 169.7 kB / 2.994 GB, free: 74.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-05/4.702, allocations: 7.984 kB / 2.994 GB, free: 74.11 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/4.702, allocations: 266.3 kB / 2.994 GB, free: 73.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 2.324e-06/4.702, allocations: 0 / 2.994 GB, free: 73.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.002869/4.705, allocations: 0.6224 MB / 2.995 GB, free: 73.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/4.705, allocations: 85.09 kB / 2.995 GB, free: 73.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/4.707, allocations: 1.161 MB / 2.996 GB, free: 71.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/4.707, allocations: 29.7 kB / 2.996 GB, free: 71.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/4.707, allocations: 372.4 kB / 2.996 GB, free: 71.53 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/4.707, allocations: 86.72 kB / 2.997 GB, free: 71.45 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/4.707, allocations: 0 / 2.997 GB, free: 71.45 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.988e-05/4.707, allocations: 326 kB / 2.997 GB, free: 71.12 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/4.708, allocations: 135.9 kB / 2.997 GB, free: 70.99 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/4.708, allocations: 189.8 kB / 2.997 GB, free: 70.78 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/4.708, allocations: 165.7 kB / 2.997 GB, free: 70.62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/4.708, allocations: 11.98 kB / 2.997 GB, free: 70.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002677/4.711, allocations: 0.6189 MB / 2.998 GB, free: 69.98 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/4.711, allocations: 4 kB / 2.998 GB, free: 69.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/4.711, allocations: 4 kB / 2.998 GB, free: 69.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/4.711, allocations: 120.8 kB / 2.998 GB, free: 69.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/4.712, allocations: 67.89 kB / 2.998 GB, free: 69.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/4.715, allocations: 1.803 MB / 3 GB, free: 67.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/4.715, allocations: 35.88 kB / 3 GB, free: 67.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/4.716, allocations: 23.92 kB / 3 GB, free: 67.81 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 0.0001257/4.716, allocations: 120.9 kB / 3 GB, free: 67.69 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002748/4.718, allocations: 0.6142 MB / 3.001 GB, free: 67.06 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/4.719, allocations: 82.97 kB / 3.001 GB, free: 66.98 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/4.722, allocations: 0.7468 MB / 3.001 GB, free: 66.22 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/4.722, allocations: 4 kB / 3.001 GB, free: 66.21 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/4.722, allocations: 0 / 3.001 GB, free: 66.21 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/4.722, allocations: 7.984 kB / 3.001 GB, free: 66.21 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/4.723, allocations: 0.5903 MB / 3.002 GB, free: 65.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/4.723, allocations: 4 kB / 3.002 GB, free: 65.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/4.723, allocations: 59.91 kB / 3.002 GB, free: 65.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/4.723, allocations: 120.7 kB / 3.002 GB, free: 65.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/4.723, allocations: 15.94 kB / 3.002 GB, free: 65.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/4.727, allocations: 1.806 MB / 3.004 GB, free: 63.46 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/4.727, allocations: 7.922 kB / 3.004 GB, free: 63.45 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/4.729, allocations: 0.6969 MB / 3.005 GB, free: 62.73 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/4.73, allocations: 224 kB / 3.005 GB, free: 62.49 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/4.73, allocations: 4 kB / 3.005 GB, free: 62.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/4.73, allocations: 27.89 kB / 3.005 GB, free: 62.46 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/4.73, allocations: 27.95 kB / 3.005 GB, free: 62.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/4.73, allocations: 23.92 kB / 3.005 GB, free: 62.41 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00111/4.732, allocations: 0.9325 MB / 3.006 GB, free: 61.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.062e-06/4.732, allocations: 4 kB / 3.006 GB, free: 61.47 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007583/4.732, allocations: 211.8 kB / 3.006 GB, free: 61.27 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.004907/4.737, allocations: 2.144 MB / 3.008 GB, free: 59.17 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009893/4.738, allocations: 493.5 kB / 3.009 GB, free: 58.68 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/4.738, allocations: 0 / 3.009 GB, free: 58.68 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005416/4.739, allocations: 325.5 kB / 3.009 GB, free: 58.35 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008045/4.74, allocations: 106.3 kB / 3.009 GB, free: 58.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/4.742, allocations: 1.547 MB / 3.011 GB, free: 56.66 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/4.743, allocations: 0.9927 MB / 3.012 GB, free: 55.64 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005241/4.743, allocations: 131 kB / 3.012 GB, free: 55.51 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/4.744, allocations: 267.2 kB / 3.012 GB, free: 55.25 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/4.744, allocations: 0 / 3.012 GB, free: 55.25 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/4.796, allocations: 22.41 MB / 3.034 GB, free: 32.89 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/4.797, allocations: 169.6 kB / 3.034 GB, free: 32.69 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/7.664, allocations: 6.688 kB / 3.034 GB, free: 32.68 MB / 1.151 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