Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.478/2.478, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001353/0.001352, allocations: 176.9 kB / 496.1 MB, free: 12.85 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.62/1.62, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009974/0.0009972, allocations: 91.94 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.397e-05/4.409e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.24, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8209/1.061, allocations: 149.6 MB / 1.365 GB, free: 4.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/1.061, allocations: 69.66 kB / 1.365 GB, free: 4.395 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002247/1.063, allocations: 0.8037 MB / 1.366 GB, free: 3.652 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/1.063, allocations: 0 / 1.366 GB, free: 3.652 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.063, allocations: 0 / 1.366 GB, free: 3.652 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004553/1.064, allocations: 365.7 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.064, allocations: 8.031 kB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/1.064, allocations: 34.56 kB / 1.366 GB, free: 3.203 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/1.064, allocations: 4.688 kB / 1.366 GB, free: 3.199 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.064, allocations: 178.5 kB / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/1.064, allocations: 0 / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/1.064, allocations: 4 kB / 1.366 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/1.064, allocations: 44.31 kB / 1.366 GB, free: 2.941 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/1.064, allocations: 4 kB / 1.366 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/1.064, allocations: 0 / 1.366 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.064, allocations: 0 / 1.366 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.925e-05/1.065, allocations: 22.55 kB / 1.366 GB, free: 2.922 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/1.065, allocations: 313.9 kB / 1.367 GB, free: 2.582 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.591e-05/1.065, allocations: 33.83 kB / 1.367 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/1.065, allocations: 16.17 kB / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/1.065, allocations: 0 / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/1.065, allocations: 30.56 kB / 1.367 GB, free: 2.492 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.065, allocations: 0 / 1.367 GB, free: 2.492 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001732/1.065, allocations: 60.06 kB / 1.367 GB, free: 2.434 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/1.065, allocations: 60.23 kB / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/1.066, allocations: 97.2 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/1.066, allocations: 29.14 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/1.066, allocations: 84.12 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/1.066, allocations: 15 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-06/1.066, allocations: 0 / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.066, allocations: 314.7 kB / 1.367 GB, free: 1.824 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/1.066, allocations: 12 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/1.066, allocations: 9.594 kB / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/1.066, allocations: 15.11 kB / 1.367 GB, free: 1.797 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.066, allocations: 0 / 1.367 GB, free: 1.797 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.698e-05/1.066, allocations: 48.83 kB / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.066, allocations: 7.938 kB / 1.367 GB, free: 1.742 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.066, allocations: 0 / 1.367 GB, free: 1.742 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.066, allocations: 0 / 1.367 GB, free: 1.742 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.066, allocations: 27.97 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.066, allocations: 0 / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-05/1.066, allocations: 23.81 kB / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/1.066, allocations: 4 kB / 1.368 GB, free: 1.691 MB / 0.823 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 (3): * Single equations (assignments): 3 * 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 6.18e-05/1.066, allocations: 101 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/1.066, allocations: 3.906 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/1.067, allocations: 68.2 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.067, allocations: 0 / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.067, allocations: 3.5 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.067, allocations: 0 / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/1.067, allocations: 169.4 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.067, allocations: 7.875 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/1.067, allocations: 23.97 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.067, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/1.067, allocations: 4 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.067, allocations: 4 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.067, allocations: 320 / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/1.067, allocations: 149.5 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/1.067, allocations: 81.06 kB / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/1.067, allocations: 3.984 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.067, allocations: 19.98 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/1.067, allocations: 7.984 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/1.067, allocations: 0 / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.306e-05/1.067, allocations: 91.2 kB / 1.368 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.067, allocations: 0 / 1.368 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001986/1.068, allocations: 7.938 kB / 1.368 GB, free: 0.8945 MB / 0.823 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 (3): * Single equations (assignments): 3 * 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.0003852/1.068, allocations: 0.6924 MB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.783e-05/1.068, allocations: 23.25 kB / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.068, allocations: 0 / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/1.068, allocations: 15.06 kB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/1.068, allocations: 7.875 kB / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/1.069, allocations: 102.4 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/1.069, allocations: 0.6926 MB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.104e-05/1.069, allocations: 0 / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/1.069, allocations: 19 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of SimCode: time 1.713e-06/1.069, allocations: 0 / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/1.081, allocations: 1.279 MB / 1.371 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.081, allocations: 167.5 kB / 1.371 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.574, allocations: 0 / 1.371 GB, free: 13.92 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat does not exist to compare? outputFormat=mat