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.253/2.253, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001229/0.001229, allocations: 175.3 kB / 498.1 MB, free: 5.672 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.495/1.495, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009298/0.0009297, allocations: 100.3 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004721, allocations: 10.97 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2502, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.4159, allocations: 148.8 MB / 1.368 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4162, allocations: 71.95 kB / 1.368 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004122/0.4204, allocations: 1.411 MB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4204, allocations: 0 / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.4204, allocations: 3.938 kB / 1.37 GB, free: 11.6 MB / 0.8698 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.0006689/0.4211, allocations: 481.4 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4211, allocations: 8.031 kB / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/0.4212, allocations: 38.56 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.4213, allocations: 7.906 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4215, allocations: 210.8 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4216, allocations: 8 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.4216, allocations: 4 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.4221, allocations: 163.3 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4221, allocations: 4 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4222, allocations: 4 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4222, allocations: 0 / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.4227, allocations: 207.8 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009735/0.4237, allocations: 0.5125 MB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.4241, allocations: 185.1 kB / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4242, allocations: 4.094 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4242, allocations: 38.55 kB / 1.372 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.4242, allocations: 3.938 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0009009/0.4251, allocations: 337.2 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4252, allocations: 77.11 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4253, allocations: 150.7 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.4253, allocations: 25.7 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.4254, allocations: 104.1 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.4254, allocations: 27.56 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.4255, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.4256, allocations: 322.8 kB / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.4258, allocations: 95.92 kB / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.4261, allocations: 121.5 kB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.4264, allocations: 99.92 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4264, allocations: 0 / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005766/0.427, allocations: 229.5 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.427, allocations: 4 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.427, allocations: 4 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.427, allocations: 7.984 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.4273, allocations: 39.91 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4273, allocations: 7.953 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4274, allocations: 35.95 kB / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.4275, allocations: 0 / 1.373 GB, free: 7.848 MB / 0.8698 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 () * Number of clocked 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 9.616e-05/0.4276, allocations: 129.8 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.4276, allocations: 11.81 kB / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/0.4277, allocations: 20.25 kB / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4277, allocations: 0 / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4277, allocations: 3.938 kB / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4277, allocations: 7.938 kB / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.428, allocations: 225.5 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.428, allocations: 4 kB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.4282, allocations: 47.89 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4282, allocations: 4.469 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4282, allocations: 4 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4282, allocations: 0 / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4282, allocations: 0 / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.4289, allocations: 420.3 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.4289, allocations: 92.91 kB / 1.374 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4289, allocations: 7.922 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4292, allocations: 31.97 kB / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.4292, allocations: 15.94 kB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.4292, allocations: 4 kB / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.062e-05/0.4293, allocations: 128 kB / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4293, allocations: 0 / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002622/0.4296, allocations: 16 kB / 1.374 GB, free: 6.59 MB / 0.8698 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 () * Number of clocked 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.001008/0.4306, allocations: 1.03 MB / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005657/0.4312, allocations: 203.8 kB / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4312, allocations: 0 / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.4315, allocations: 111.9 kB / 1.376 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.4317, allocations: 11.95 kB / 1.376 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.4335, allocations: 1.109 MB / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.4338, allocations: 0.7119 MB / 1.377 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.485e-05/0.4339, allocations: 27.97 kB / 1.377 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.4339, allocations: 27.42 kB / 1.377 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/0.4339, allocations: 8 kB / 1.377 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.4471, allocations: 2.245 MB / 1.38 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.4473, allocations: 184.3 kB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.929, allocations: 0 / 1.38 GB, free: 0.8984 MB / 0.8698 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