Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.377/2.377, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001755/0.001755, allocations: 177 kB / 492.3 MB, free: 0.6094 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.492/1.492, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.00115/0.001151, allocations: 100.5 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.918e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2562, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.279, allocations: 148.8 MB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/1.279, allocations: 71.52 kB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004818/1.284, allocations: 1.409 MB / 1.359 GB, free: 34.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/1.284, allocations: 0 / 1.359 GB, free: 34.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.284, allocations: 7.844 kB / 1.359 GB, free: 34.67 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005442/1.284, allocations: 447.7 kB / 1.36 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.285, allocations: 11.5 kB / 1.36 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/1.285, allocations: 40.56 kB / 1.36 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/1.285, allocations: 16.11 kB / 1.36 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/1.285, allocations: 201.7 kB / 1.36 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/1.285, allocations: 3.844 kB / 1.36 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/1.285, allocations: 7.625 kB / 1.36 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/1.285, allocations: 112.8 kB / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.285, allocations: 2.125 kB / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.285, allocations: 0 / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.285, allocations: 3.906 kB / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/1.285, allocations: 109.6 kB / 1.36 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/1.286, allocations: 0.5135 MB / 1.361 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/1.286, allocations: 138.3 kB / 1.361 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/1.286, allocations: 63.16 kB / 1.361 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/1.286, allocations: 4 kB / 1.361 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/1.286, allocations: 30.56 kB / 1.361 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/1.286, allocations: 0 / 1.361 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002623/1.287, allocations: 138.5 kB / 1.361 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/1.287, allocations: 81.06 kB / 1.361 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/1.287, allocations: 145.2 kB / 1.361 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/1.287, allocations: 28.77 kB / 1.361 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/1.287, allocations: 118.8 kB / 1.361 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/1.287, allocations: 19.53 kB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/1.287, allocations: 7.812 kB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/1.287, allocations: 324.4 kB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/1.287, allocations: 39.81 kB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/1.287, allocations: 59.14 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.392e-05/1.287, allocations: 46.17 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.287, allocations: 3.844 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000167/1.287, allocations: 138.8 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.287, allocations: 7.812 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.287, allocations: 0 / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.287, allocations: 0 / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/1.288, allocations: 46.33 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.288, allocations: 3.953 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/1.288, allocations: 37 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/1.288, allocations: 0.7812 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 5.7e-05/1.288, allocations: 111.4 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/1.288, allocations: 7.75 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/1.288, allocations: 20.05 kB / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/1.288, allocations: 0 / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.288, allocations: 7.844 kB / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/1.288, allocations: 3.953 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/1.288, allocations: 226.9 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.288, allocations: 3.875 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/1.288, allocations: 42.3 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.288, allocations: 3.812 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.288, allocations: 0 / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.288, allocations: 9.438 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.288, allocations: 0 / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/1.289, allocations: 322.1 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/1.289, allocations: 88.83 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/1.289, allocations: 5.531 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/1.289, allocations: 36.7 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/1.289, allocations: 15.89 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/1.289, allocations: 0 / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.793e-05/1.289, allocations: 130.1 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.289, allocations: 0 / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002363/1.289, allocations: 19.53 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0004567/1.29, allocations: 0.9236 MB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001701/1.29, allocations: 99.77 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.29, allocations: 0 / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/1.29, allocations: 57.69 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/1.29, allocations: 24.28 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/1.291, allocations: 227.5 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/1.291, allocations: 0.7127 MB / 1.365 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.85e-05/1.291, allocations: 28.14 kB / 1.365 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/1.291, allocations: 30.56 kB / 1.365 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.291, allocations: 0 / 1.365 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/1.303, allocations: 2.27 MB / 1.367 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/1.304, allocations: 169.3 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.845, allocations: 0 / 1.368 GB, free: 29.88 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat does not exist to compare? outputFormat=mat