Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",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.199/2.199, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001061/0.001061, allocations: 168.9 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.53/1.53, allocations: 221.5 MB / 0.7824 GB, free: 1.047 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.000866/0.000866, allocations: 106.6 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.928e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9479/1.216, allocations: 150.6 MB / 1.353 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.216, allocations: 96.62 kB / 1.353 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01453/1.231, allocations: 4.985 MB / 1.358 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.231, allocations: 0 / 1.358 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.253e-06/1.231, allocations: 0 / 1.358 GB, free: 33.46 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003915/1.231, allocations: 389 kB / 1.358 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.231, allocations: 7.781 kB / 1.358 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/1.231, allocations: 79.12 kB / 1.359 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/1.231, allocations: 245.9 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/1.232, allocations: 162.4 kB / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.232, allocations: 154.4 kB / 1.359 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.63e-05/1.232, allocations: 150.6 kB / 1.359 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.216e-05/1.232, allocations: 108.1 kB / 1.359 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.232, allocations: 78.41 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/1.232, allocations: 150.6 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-05/1.232, allocations: 154.6 kB / 1.36 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/1.232, allocations: 432.8 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/1.232, allocations: 165.1 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/1.232, allocations: 80.14 kB / 1.36 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/1.232, allocations: 83.27 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/1.232, allocations: 113.8 kB / 1.361 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.232, allocations: 0 / 1.361 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.502e-05/1.233, allocations: 29.61 kB / 1.361 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/1.233, allocations: 134.9 kB / 1.361 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.233, allocations: 88.88 kB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/1.233, allocations: 25.7 kB / 1.361 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/1.233, allocations: 87.95 kB / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/1.233, allocations: 0 / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/1.233, allocations: 0 / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.233, allocations: 314.7 kB / 1.361 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/1.233, allocations: 0 / 1.361 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/1.233, allocations: 21.58 kB / 1.361 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/1.233, allocations: 75.28 kB / 1.361 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.993e-05/1.233, allocations: 83.22 kB / 1.361 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.856e-05/1.233, allocations: 33.47 kB / 1.361 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/1.233, allocations: 79.19 kB / 1.361 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/1.233, allocations: 79.09 kB / 1.362 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.347e-05/1.233, allocations: 157.3 kB / 1.362 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.739e-05/1.233, allocations: 75.28 kB / 1.362 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.338e-05/1.233, allocations: 154.6 kB / 1.362 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/1.233, allocations: 93.48 kB / 1.362 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/1.234, allocations: 75.28 kB / 1.362 GB, free: 29.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.234, allocations: 255.5 kB / 1.362 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.507e-05/1.234, allocations: 145.2 kB / 1.362 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/1.234, allocations: 101 kB / 1.363 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/1.234, allocations: 116.5 kB / 1.363 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.971e-05/1.234, allocations: 184.1 kB / 1.363 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.455e-05/1.234, allocations: 179 kB / 1.363 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-05/1.234, allocations: 181.2 kB / 1.363 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/1.234, allocations: 384.7 kB / 1.364 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/1.234, allocations: 105 kB / 1.364 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/1.234, allocations: 108.9 kB / 1.364 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.717e-05/1.234, allocations: 183.2 kB / 1.364 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/1.235, allocations: 180.1 kB / 1.364 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-05/1.235, allocations: 176.3 kB / 1.364 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.93e-05/1.235, allocations: 184.7 kB / 1.364 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/1.235, allocations: 303.2 kB / 1.365 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/1.235, allocations: 188.8 kB / 1.365 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/1.235, allocations: 192 kB / 1.365 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/1.235, allocations: 103.8 kB / 1.365 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/1.235, allocations: 188.1 kB / 1.365 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/1.235, allocations: 101 kB / 1.365 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.061e-05/1.235, allocations: 81.69 kB / 1.366 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.235, allocations: 0 / 1.366 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006062/1.236, allocations: 97.83 kB / 1.366 GB, free: 25.53 MB / 0.8386 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/1.237, allocations: 1.046 MB / 1.367 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.331e-05/1.237, allocations: 0 / 1.367 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.237, allocations: 3.844 kB / 1.367 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/1.237, allocations: 0 / 1.367 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/1.238, allocations: 0.5214 MB / 1.367 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/1.238, allocations: 218.2 kB / 1.367 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/1.238, allocations: 0.6794 MB / 1.368 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.293e-05/1.238, allocations: 7.828 kB / 1.368 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/1.238, allocations: 18.64 kB / 1.368 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.238, allocations: 0 / 1.368 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/1.26, allocations: 2.508 MB / 1.371 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/1.261, allocations: 207.2 kB / 1.371 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/3.006, allocations: 5.375 kB / 1.371 GB, free: 22.64 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat does not exist to compare? outputFormat=mat