Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.476/2.476, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001238/0.001238, allocations: 184.5 kB / 487.4 MB, free: 5.062 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.606/1.606, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0008717/0.0008716, allocations: 102.2 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.774e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3065, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.365, allocations: 147.9 MB / 1.351 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/1.365, allocations: 67.53 kB / 1.351 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006185/1.371, allocations: 2.347 MB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.371, allocations: 4 kB / 1.353 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.575e-05/1.371, allocations: 7.531 kB / 1.353 GB, free: 33.74 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004116/1.372, allocations: 455.4 kB / 1.353 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.372, allocations: 11.56 kB / 1.353 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/1.372, allocations: 27.77 kB / 1.353 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/1.372, allocations: 262.5 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/1.372, allocations: 7.844 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/1.372, allocations: 11.47 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002955/1.372, allocations: 215.2 kB / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/1.373, allocations: 324.6 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.373, allocations: 0 / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/1.373, allocations: 4.594 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.373, allocations: 7.594 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.375, allocations: 1.371 MB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/1.375, allocations: 169.1 kB / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/1.375, allocations: 80.14 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/1.375, allocations: 76.12 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/1.375, allocations: 109.8 kB / 1.356 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.375, allocations: 0 / 1.356 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.078e-05/1.375, allocations: 38.17 kB / 1.356 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/1.375, allocations: 51.41 kB / 1.356 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/1.375, allocations: 236.3 kB / 1.356 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/1.375, allocations: 25.7 kB / 1.356 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/1.375, allocations: 187.8 kB / 1.356 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/1.375, allocations: 4 kB / 1.356 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/1.375, allocations: 0 / 1.356 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.376, allocations: 329.6 kB / 1.357 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/1.376, allocations: 47.81 kB / 1.357 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.403e-05/1.376, allocations: 98.81 kB / 1.357 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.632e-05/1.376, allocations: 62.19 kB / 1.357 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.376, allocations: 0 / 1.357 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002748/1.376, allocations: 173 kB / 1.357 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.376, allocations: 10.2 kB / 1.357 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.376, allocations: 7.812 kB / 1.357 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.376, allocations: 0 / 1.357 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/1.376, allocations: 18.81 kB / 1.357 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.376, allocations: 4.516 kB / 1.357 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/1.376, allocations: 17.25 kB / 1.357 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/1.376, allocations: 8.375 kB / 1.357 GB, free: 30.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001024/1.377, allocations: 184.9 kB / 1.357 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.943e-05/1.377, allocations: 147.3 kB / 1.357 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/1.377, allocations: 117.3 kB / 1.358 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/1.377, allocations: 120.2 kB / 1.358 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-05/1.377, allocations: 181.2 kB / 1.358 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.836e-05/1.377, allocations: 184.8 kB / 1.358 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-05/1.377, allocations: 188.4 kB / 1.358 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/1.377, allocations: 468.4 kB / 1.359 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-05/1.377, allocations: 106.1 kB / 1.359 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/1.377, allocations: 101.6 kB / 1.359 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.234e-05/1.377, allocations: 176.9 kB / 1.359 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/1.377, allocations: 184.7 kB / 1.359 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.937e-05/1.378, allocations: 180.9 kB / 1.359 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-05/1.378, allocations: 180.6 kB / 1.36 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/1.378, allocations: 317.5 kB / 1.36 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/1.378, allocations: 203.5 kB / 1.36 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/1.378, allocations: 181 kB / 1.36 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/1.378, allocations: 111.3 kB / 1.36 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/1.378, allocations: 177.8 kB / 1.361 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/1.378, allocations: 105.6 kB / 1.361 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000138/1.378, allocations: 184 kB / 1.361 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.378, allocations: 0 / 1.361 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002862/1.379, allocations: 34.88 kB / 1.361 GB, free: 27.04 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.0004411/1.379, allocations: 0.8253 MB / 1.362 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001274/1.379, allocations: 66.78 kB / 1.362 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.379, allocations: 0 / 1.362 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/1.379, allocations: 0.7031 kB / 1.362 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/1.38, allocations: 0.5407 MB / 1.362 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006558/1.38, allocations: 416.6 kB / 1.363 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/1.381, allocations: 0.7941 MB / 1.363 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.377e-05/1.381, allocations: 26.7 kB / 1.363 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/1.381, allocations: 52.98 kB / 1.363 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of SimCode: time 1.202e-06/1.381, allocations: 0 / 1.363 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/1.403, allocations: 2.295 MB / 1.366 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/1.404, allocations: 151.5 kB / 1.366 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/3.057, allocations: 0.5 kB / 1.366 GB, free: 24.4 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat does not exist to compare? outputFormat=mat