Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.466/2.466, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001347/0.001347, allocations: 184.8 kB / 496.1 MB, free: 12.86 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.466/1.466, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0009465/0.0009465, allocations: 87.89 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.623e-05/4.626e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3228, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.364, allocations: 149.6 MB / 1.365 GB, free: 4.391 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/1.364, allocations: 67.7 kB / 1.365 GB, free: 4.355 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004394/1.368, allocations: 1.414 MB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.473e-06/1.368, allocations: 0 / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.548e-05/1.369, allocations: 4 kB / 1.366 GB, free: 3.051 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006625/1.369, allocations: 452.6 kB / 1.367 GB, free: 2.574 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.369, allocations: 12.03 kB / 1.367 GB, free: 2.562 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/1.369, allocations: 37.62 kB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/1.369, allocations: 11.81 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/1.37, allocations: 210.5 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/1.37, allocations: 2.812 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/1.37, allocations: 4 kB / 1.367 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/1.37, allocations: 119.9 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.37, allocations: 0 / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.37, allocations: 0 / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.37, allocations: 4 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/1.37, allocations: 107.7 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/1.371, allocations: 0.5151 MB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/1.371, allocations: 134.8 kB / 1.368 GB, free: 1.418 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/1.371, allocations: 61.86 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/1.371, allocations: 4 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/1.371, allocations: 30.56 kB / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/1.371, allocations: 0 / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003005/1.372, allocations: 139.8 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/1.372, allocations: 80.67 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/1.372, allocations: 151.6 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/1.372, allocations: 25.7 kB / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/1.372, allocations: 113.6 kB / 1.369 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/1.372, allocations: 22.91 kB / 1.369 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/1.372, allocations: 3.938 kB / 1.369 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.372, allocations: 325.3 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/1.372, allocations: 38.42 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/1.372, allocations: 62.25 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/1.372, allocations: 46.53 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.372, allocations: 0 / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001962/1.373, allocations: 139.9 kB / 1.369 GB, free: 260 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.373, allocations: 4 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.373, allocations: 0 / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.373, allocations: 4 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.373, allocations: 50.47 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.373, allocations: 4.156 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/1.373, allocations: 31.97 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.373, allocations: 4.062 kB / 1.369 GB, free: 168 kB / 0.823 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 7.61e-05/1.373, allocations: 109 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/1.373, allocations: 11.84 kB / 1.369 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/1.373, allocations: 18.53 kB / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.373, allocations: 4 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.373, allocations: 7.953 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.373, allocations: 0 / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/1.374, allocations: 227.5 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.374, allocations: 0 / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/1.374, allocations: 45.58 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.374, allocations: 3.938 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.374, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.374, allocations: 11.98 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.374, allocations: 3.984 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/1.374, allocations: 315.2 kB / 1.37 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/1.374, allocations: 92.39 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/1.374, allocations: 3.984 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/1.375, allocations: 35.97 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/1.375, allocations: 15.25 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/1.375, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.594e-05/1.375, allocations: 123.4 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.71e-07/1.375, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002461/1.375, allocations: 16 kB / 1.37 GB, free: 15.12 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.000607/1.376, allocations: 0.925 MB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002019/1.376, allocations: 96.66 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.376, allocations: 0 / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/1.376, allocations: 65.97 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/1.376, allocations: 15.58 kB / 1.371 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/1.377, allocations: 225.1 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/1.377, allocations: 0.7199 MB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.085e-05/1.377, allocations: 27.97 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/1.377, allocations: 30.42 kB / 1.372 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.377, allocations: 0 / 1.372 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/1.392, allocations: 2.277 MB / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/1.392, allocations: 163.7 kB / 1.375 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.952, allocations: 0 / 1.375 GB, free: 10.7 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat does not exist to compare? outputFormat=mat