Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.402/2.402, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.000949/0.0009493, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.3 MB / 0.7915 GB, free: 5.492 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.0009644/0.0009646, allocations: 95.94 kB / 0.9317 GB, free: 5.801 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.208e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.336, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.439, allocations: 152.1 MB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.439, allocations: 88.19 kB / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01508/1.454, allocations: 5.125 MB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.843e-06/1.454, allocations: 4 kB / 1.372 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.454, allocations: 0 / 1.372 GB, free: 13.76 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.0004718/1.455, allocations: 378 kB / 1.373 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/1.455, allocations: 15.97 kB / 1.373 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/1.455, allocations: 109.8 kB / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/1.455, allocations: 75.28 kB / 1.373 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/1.455, allocations: 253.9 kB / 1.373 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/1.455, allocations: 158.5 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/1.455, allocations: 150.6 kB / 1.374 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/1.455, allocations: 101 kB / 1.374 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.456, allocations: 75.28 kB / 1.374 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/1.456, allocations: 150.6 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/1.456, allocations: 158.5 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/1.456, allocations: 162 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/1.456, allocations: 445.8 kB / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.453e-05/1.456, allocations: 172.7 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/1.456, allocations: 80.14 kB / 1.375 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/1.456, allocations: 79.28 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/1.456, allocations: 109.8 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.456, allocations: 0 / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.677e-05/1.456, allocations: 34.42 kB / 1.375 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/1.456, allocations: 207.3 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/1.457, allocations: 89 kB / 1.375 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/1.457, allocations: 25.7 kB / 1.375 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/1.457, allocations: 84.14 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/1.457, allocations: 0 / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/1.457, allocations: 0 / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.457, allocations: 326.3 kB / 1.376 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/1.457, allocations: 0 / 1.376 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/1.457, allocations: 18.58 kB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/1.457, allocations: 75.28 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-05/1.457, allocations: 79.28 kB / 1.376 GB, free: 9.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.686e-05/1.457, allocations: 37.55 kB / 1.376 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/1.457, allocations: 80.53 kB / 1.376 GB, free: 9.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/1.457, allocations: 75.28 kB / 1.376 GB, free: 9.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.937e-05/1.457, allocations: 166.2 kB / 1.376 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.806e-05/1.457, allocations: 79.22 kB / 1.376 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.092e-05/1.457, allocations: 154.6 kB / 1.376 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/1.457, allocations: 87.27 kB / 1.377 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/1.457, allocations: 75.28 kB / 1.377 GB, free: 9.246 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.0001282/1.458, allocations: 259.5 kB / 1.377 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/1.458, allocations: 112.7 kB / 1.377 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/1.458, allocations: 107.9 kB / 1.377 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-05/1.458, allocations: 184.3 kB / 1.377 GB, free: 8.574 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.477e-05/1.458, allocations: 180.2 kB / 1.377 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/1.458, allocations: 180.2 kB / 1.378 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/1.458, allocations: 413.5 kB / 1.378 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/1.458, allocations: 101 kB / 1.378 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/1.458, allocations: 109 kB / 1.378 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.156e-05/1.458, allocations: 183.7 kB / 1.378 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/1.458, allocations: 180.3 kB / 1.379 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.121e-05/1.459, allocations: 180.2 kB / 1.379 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.093e-05/1.459, allocations: 176.3 kB / 1.379 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/1.459, allocations: 311.4 kB / 1.379 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/1.459, allocations: 190 kB / 1.379 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.459, allocations: 195.7 kB / 1.38 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/1.459, allocations: 105 kB / 1.38 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/1.459, allocations: 180.2 kB / 1.38 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/1.459, allocations: 105 kB / 1.38 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.614e-05/1.459, allocations: 83.27 kB / 1.38 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.459, allocations: 0 / 1.38 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004715/1.46, allocations: 99.53 kB / 1.38 GB, free: 5.496 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.001215/1.461, allocations: 1.046 MB / 1.381 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.982e-05/1.461, allocations: 4 kB / 1.381 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.461, allocations: 0 / 1.381 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/1.461, allocations: 0 / 1.381 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/1.461, allocations: 0.5308 MB / 1.382 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/1.462, allocations: 213.8 kB / 1.382 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/1.462, allocations: 0.6731 MB / 1.383 GB, free: 3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.656e-05/1.462, allocations: 8 kB / 1.383 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/1.462, allocations: 19.11 kB / 1.383 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.462, allocations: 0 / 1.383 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/1.479, allocations: 2.807 MB / 1.385 GB, free: 348 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/1.479, allocations: 235 kB / 1.386 GB, free: 36 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/3.36, allocations: 0 / 1.386 GB, free: 36 kB / 0.8386 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat does not exist to compare? outputFormat=mat