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.304/2.304, allocations: 393.5 MB / 408.4 MB, free: 11 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.001204/0.001204, allocations: 183 kB / 0.4901 GB, free: 2.246 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.559/1.559, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001045/0.001045, allocations: 99.83 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003816, allocations: 13.84 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3212, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.5067, allocations: 149.6 MB / 1.375 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.507, allocations: 63.97 kB / 1.376 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00441/0.5115, allocations: 1.416 MB / 1.377 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5115, allocations: 0 / 1.377 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.5115, allocations: 4 kB / 1.377 GB, free: 2.312 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.0007414/0.5123, allocations: 471.8 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.5123, allocations: 16.48 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.5124, allocations: 38.56 kB / 1.377 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.5124, allocations: 11.81 kB / 1.377 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.5127, allocations: 207.7 kB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.5127, allocations: 0 / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5127, allocations: 8 kB / 1.378 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.5132, allocations: 163.3 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5132, allocations: 11.88 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.5132, allocations: 4 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5132, allocations: 0 / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.5138, allocations: 203.8 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.5147, allocations: 0.5242 MB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.5151, allocations: 173.1 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.5151, allocations: 4 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5152, allocations: 38.5 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.5152, allocations: 0 / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0009337/0.5161, allocations: 329.5 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.5162, allocations: 85.05 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.5164, allocations: 155.5 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.5164, allocations: 25.7 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.5165, allocations: 104 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.5165, allocations: 23.7 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.5165, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5167, allocations: 326.8 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.517, allocations: 95.92 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.5172, allocations: 105.6 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.5175, allocations: 100.3 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5175, allocations: 0 / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000569/0.5181, allocations: 245.2 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5181, allocations: 8 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.5181, allocations: 4 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5182, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.5184, allocations: 43.95 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5184, allocations: 3.953 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.5186, allocations: 39.91 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5186, allocations: 4 kB / 1.38 GB, free: 14.55 MB / 0.8855 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 0.0001199/0.5187, allocations: 129.8 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.5188, allocations: 11.91 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.5188, allocations: 20.23 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.5188, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5188, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.5188, allocations: 7.953 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.5191, allocations: 229.4 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5191, allocations: 0 / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.5193, allocations: 43.95 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5194, allocations: 0 / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5194, allocations: 0 / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.5194, allocations: 4 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5194, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.5201, allocations: 436.3 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.5201, allocations: 85.02 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.5202, allocations: 8 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.5204, allocations: 35.95 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.5205, allocations: 15.94 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.5205, allocations: 0 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.48e-05/0.5206, allocations: 120.7 kB / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5206, allocations: 4 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002643/0.5209, allocations: 31.84 kB / 1.381 GB, free: 13.29 MB / 0.8855 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.001014/0.5219, allocations: 1.015 MB / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005718/0.5225, allocations: 199.8 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5225, allocations: 0 / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.5228, allocations: 107.9 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.523, allocations: 15.94 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.5251, allocations: 1.1 MB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.5255, allocations: 0.7084 MB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.5256, allocations: 31.95 kB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.5257, allocations: 31.44 kB / 1.385 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of SimCode: time 4.528e-06/0.5257, allocations: 0 / 1.385 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.541, allocations: 2.257 MB / 1.387 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/0.5414, allocations: 191.1 kB / 1.387 GB, free: 7.629 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.075, allocations: 7.938 kB / 1.387 GB, free: 7.621 MB / 0.8855 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