Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.272/2.272, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001002/0.001002, allocations: 185 kB / 498.1 MB, free: 5.723 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.513/1.513, allocations: 223.2 MB / 0.7948 GB, free: 17.82 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.0009374/0.0009375, allocations: 92.31 kB / 0.9346 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003588, allocations: 20.09 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2424, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4127, allocations: 148.6 MB / 1.368 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.413, allocations: 67.97 kB / 1.368 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005535/0.4185, allocations: 2.301 MB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4185, allocations: 0 / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.4186, allocations: 4 kB / 1.37 GB, free: 10.85 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004979/0.4191, allocations: 474.8 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4191, allocations: 12.03 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.055e-05/0.4192, allocations: 54.55 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.4193, allocations: 31.72 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4197, allocations: 267.5 kB / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.4197, allocations: 16.44 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.4198, allocations: 24 kB / 1.371 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.4202, allocations: 337.1 kB / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4202, allocations: 4 kB / 1.372 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.4203, allocations: 8 kB / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4203, allocations: 4 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.4206, allocations: 235.8 kB / 1.372 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.422, allocations: 1.409 MB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/0.4221, allocations: 165.1 kB / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.4222, allocations: 91.14 kB / 1.373 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.4222, allocations: 105.8 kB / 1.374 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.4222, allocations: 0 / 1.374 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.4223, allocations: 53.33 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.4224, allocations: 134.6 kB / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.4229, allocations: 463.6 kB / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.4229, allocations: 29.7 kB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.423, allocations: 167.8 kB / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.423, allocations: 0 / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.423, allocations: 0 / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4232, allocations: 342.8 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.4232, allocations: 47.95 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.4233, allocations: 93.91 kB / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.846e-05/0.4234, allocations: 55.97 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4234, allocations: 4 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003293/0.4238, allocations: 185.3 kB / 1.375 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4238, allocations: 4 kB / 1.375 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4238, allocations: 4 kB / 1.375 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4238, allocations: 3.938 kB / 1.375 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4239, allocations: 23.92 kB / 1.375 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.424, allocations: 4 kB / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.4241, allocations: 35.64 kB / 1.375 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.4241, allocations: 11.98 kB / 1.375 GB, free: 5.73 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001616/0.4243, allocations: 249.2 kB / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/0.4243, allocations: 132.5 kB / 1.375 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.641e-05/0.4244, allocations: 138.6 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.343e-05/0.4245, allocations: 180.9 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-05/0.4245, allocations: 176.3 kB / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/0.4246, allocations: 184.2 kB / 1.376 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.4249, allocations: 0.4971 MB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.4249, allocations: 101 kB / 1.377 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.425, allocations: 104.9 kB / 1.377 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.941e-05/0.425, allocations: 176.3 kB / 1.377 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.4251, allocations: 180.3 kB / 1.377 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-05/0.4251, allocations: 180.2 kB / 1.377 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.473e-05/0.4252, allocations: 184.2 kB / 1.378 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.4253, allocations: 331.4 kB / 1.378 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4255, allocations: 229.7 kB / 1.378 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.4256, allocations: 180.2 kB / 1.378 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.4257, allocations: 113 kB / 1.378 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.4258, allocations: 184.2 kB / 1.379 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.4258, allocations: 105 kB / 1.379 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003557/0.4262, allocations: 363 kB / 1.379 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4262, allocations: 0 / 1.379 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002639/0.4264, allocations: 24 kB / 1.379 GB, free: 1.562 MB / 0.8698 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 () * Number of clocked 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.0004639/0.4269, allocations: 0.848 MB / 1.38 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.4271, allocations: 63.89 kB / 1.38 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4271, allocations: 0 / 1.38 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-06/0.4271, allocations: 4.438 kB / 1.38 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.4276, allocations: 0.5481 MB / 1.38 GB, free: 68 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.43, allocations: 2.55 MB / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4304, allocations: 0.7868 MB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.4305, allocations: 49.52 kB / 1.384 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.4306, allocations: 63.41 kB / 1.384 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.4306, allocations: 0 / 1.384 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.4456, allocations: 4.135 MB / 1.388 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.4458, allocations: 181.7 kB / 1.388 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.291, allocations: 3.938 kB / 1.388 GB, free: 8.285 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat does not exist to compare? outputFormat=mat