Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.253/2.253, allocations: 390.3 MB / 402.8 MB, free: 6.734 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.001239/0.001239, allocations: 176.8 kB / 496.1 MB, free: 12.89 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.797/1.797, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009613/0.0009614, allocations: 95.75 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.997e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2653, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.311, allocations: 149.4 MB / 1.365 GB, free: 4.656 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.312, allocations: 68.7 kB / 1.365 GB, free: 4.617 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005713/1.317, allocations: 2.323 MB / 1.367 GB, free: 2.527 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/1.317, allocations: 0 / 1.367 GB, free: 2.527 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.317, allocations: 4.875 kB / 1.367 GB, free: 2.523 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004549/1.318, allocations: 450.4 kB / 1.368 GB, free: 2.055 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.318, allocations: 12.03 kB / 1.368 GB, free: 2.043 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/1.318, allocations: 55.98 kB / 1.368 GB, free: 1.992 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/1.318, allocations: 23.72 kB / 1.368 GB, free: 1.969 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/1.318, allocations: 276.1 kB / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/1.319, allocations: 14.75 kB / 1.368 GB, free: 1.66 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/1.319, allocations: 22.12 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/1.319, allocations: 334.2 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.319, allocations: 7.938 kB / 1.368 GB, free: 1.344 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/1.319, allocations: 7.562 kB / 1.368 GB, free: 1.344 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.319, allocations: 8 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/1.319, allocations: 231.4 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/1.321, allocations: 1.409 MB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.34e-05/1.321, allocations: 165.5 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/1.321, allocations: 84.14 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/1.321, allocations: 87.12 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/1.321, allocations: 109.8 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.321, allocations: 0 / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.542e-05/1.321, allocations: 57.36 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/1.321, allocations: 130.7 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/1.322, allocations: 455.7 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/1.322, allocations: 33.64 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/1.322, allocations: 171.5 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/1.322, allocations: 0 / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/1.322, allocations: 3.625 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.322, allocations: 337.6 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/1.322, allocations: 46.66 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.615e-05/1.322, allocations: 96.09 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.938e-05/1.322, allocations: 54.58 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.322, allocations: 4 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002762/1.323, allocations: 190.2 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.323, allocations: 8 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/1.323, allocations: 0 / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.323, allocations: 4 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/1.323, allocations: 27.86 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/1.323, allocations: 3.953 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/1.323, allocations: 31.69 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/1.323, allocations: 8 kB / 1.372 GB, free: 13.79 MB / 0.8386 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 () * 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 9.802e-05/1.323, allocations: 192.3 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/1.323, allocations: 124.6 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.632e-05/1.323, allocations: 138.6 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.104e-05/1.323, allocations: 180.2 kB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.803e-05/1.323, allocations: 180.1 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.838e-05/1.323, allocations: 180.2 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/1.324, allocations: 497.5 kB / 1.373 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/1.324, allocations: 109 kB / 1.373 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/1.324, allocations: 104.9 kB / 1.373 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.658e-05/1.324, allocations: 176.3 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.63e-05/1.324, allocations: 176.3 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.589e-05/1.324, allocations: 195.4 kB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.974e-05/1.324, allocations: 176.3 kB / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/1.324, allocations: 334.5 kB / 1.374 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/1.324, allocations: 225.5 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-05/1.325, allocations: 180.2 kB / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1.325, allocations: 113 kB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/1.325, allocations: 183.3 kB / 1.375 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/1.325, allocations: 106 kB / 1.375 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003289/1.325, allocations: 356.9 kB / 1.376 GB, free: 9.832 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.325, allocations: 0 / 1.376 GB, free: 9.832 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002409/1.325, allocations: 24 kB / 1.376 GB, free: 9.809 MB / 0.8386 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 () * 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.0004445/1.326, allocations: 0.8396 MB / 1.376 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001324/1.326, allocations: 66.02 kB / 1.377 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.326, allocations: 0 / 1.377 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/1.326, allocations: 4.375 kB / 1.377 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/1.326, allocations: 0.5465 MB / 1.377 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/1.327, allocations: 457.2 kB / 1.377 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/1.327, allocations: 0.7809 MB / 1.378 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.461e-05/1.328, allocations: 45.53 kB / 1.378 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/1.328, allocations: 67.53 kB / 1.378 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/1.328, allocations: 0 / 1.378 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/1.342, allocations: 4.011 MB / 1.382 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.342, allocations: 166 kB / 1.382 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/3.202, allocations: 0 / 1.382 GB, free: 2.941 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat does not exist to compare? outputFormat=mat