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.576/2.576, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001022/0.001022, allocations: 176.9 kB / 492.3 MB, free: 0.6055 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.57/1.57, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008731/0.0008732, allocations: 97.95 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.774e-05/4.821e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2541, allocations: 142.3 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8839/1.138, allocations: 148.6 MB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/1.138, allocations: 67.2 kB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005635/1.144, allocations: 2.373 MB / 1.36 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.813e-06/1.144, allocations: 0 / 1.36 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.682e-05/1.144, allocations: 11.28 kB / 1.36 GB, free: 34.61 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.000326/1.144, allocations: 449.9 kB / 1.36 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/1.144, allocations: 11.56 kB / 1.36 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/1.144, allocations: 55.22 kB / 1.36 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/1.144, allocations: 25.06 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/1.145, allocations: 269.9 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/1.145, allocations: 22.78 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/1.145, allocations: 17.94 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/1.145, allocations: 350.5 kB / 1.361 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.145, allocations: 0 / 1.361 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/1.145, allocations: 14.78 kB / 1.361 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.145, allocations: 3.875 kB / 1.361 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/1.146, allocations: 236.1 kB / 1.361 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/1.147, allocations: 1.489 MB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/1.147, allocations: 169.5 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/1.147, allocations: 85.7 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/1.147, allocations: 82.72 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.147, allocations: 105.8 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/1.147, allocations: 0 / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.889e-05/1.147, allocations: 52.73 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.147, allocations: 136 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/1.147, allocations: 473.3 kB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/1.147, allocations: 25.7 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/1.148, allocations: 162.8 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-06/1.148, allocations: 3.75 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/1.148, allocations: 0 / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.148, allocations: 338 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/1.148, allocations: 53.02 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/1.148, allocations: 98.97 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/1.148, allocations: 60.98 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.148, allocations: 0 / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002333/1.148, allocations: 190.8 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.148, allocations: 7.688 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.148, allocations: 0 / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.148, allocations: 5.625 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/1.148, allocations: 26.22 kB / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.148, allocations: 7.875 kB / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/1.148, allocations: 40.5 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/1.148, allocations: 9.234 kB / 1.365 GB, free: 31.39 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.0001023/1.149, allocations: 188.7 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/1.149, allocations: 124.4 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/1.149, allocations: 137.8 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-05/1.149, allocations: 186.1 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.482e-05/1.149, allocations: 176.3 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/1.149, allocations: 189.7 kB / 1.366 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/1.149, allocations: 492.1 kB / 1.366 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/1.149, allocations: 101 kB / 1.366 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/1.149, allocations: 110.2 kB / 1.366 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.219e-05/1.149, allocations: 187 kB / 1.367 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/1.149, allocations: 182.4 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-05/1.149, allocations: 176.3 kB / 1.367 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.313e-05/1.149, allocations: 180.2 kB / 1.367 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/1.149, allocations: 335.4 kB / 1.368 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/1.15, allocations: 233 kB / 1.368 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/1.15, allocations: 176.3 kB / 1.368 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.15, allocations: 106.6 kB / 1.368 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/1.15, allocations: 184 kB / 1.368 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/1.15, allocations: 106.2 kB / 1.368 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002906/1.15, allocations: 363 kB / 1.369 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.15, allocations: 3.906 kB / 1.369 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002558/1.15, allocations: 23.22 kB / 1.369 GB, free: 27.8 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.0004319/1.151, allocations: 0.8415 MB / 1.369 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001149/1.151, allocations: 71.11 kB / 1.37 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.151, allocations: 0 / 1.37 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/1.151, allocations: 0 / 1.37 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/1.152, allocations: 0.5486 MB / 1.37 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/1.152, allocations: 458.7 kB / 1.371 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/1.152, allocations: 0.7795 MB / 1.371 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.432e-05/1.153, allocations: 50.89 kB / 1.371 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/1.153, allocations: 64.44 kB / 1.371 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/1.153, allocations: 7.812 kB / 1.371 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/1.168, allocations: 4.038 MB / 1.375 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/1.169, allocations: 165.1 kB / 1.375 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/3.179, allocations: 0 / 1.375 GB, free: 24.98 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