Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 180.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.3 MB / 0.626 GB, free: 7.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 87.86 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.984e-05, allocations: 11.98 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.7357, allocations: 116.3 MB / 0.9734 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.9362, allocations: 137.6 MB / 1.108 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.9365, allocations: 73.25 kB / 1.108 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00571/0.9422, allocations: 2.291 MB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9422, allocations: 0 / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.9423, allocations: 4 kB / 1.11 GB, free: 10.15 MB / 0.7136 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.0004336/0.9427, allocations: 440.6 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.9428, allocations: 16.02 kB / 1.111 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.9428, allocations: 27.72 kB / 1.111 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.9431, allocations: 265.5 kB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.9432, allocations: 8.875 kB / 1.111 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.9432, allocations: 12 kB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003319/0.9435, allocations: 212.8 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.944, allocations: 311.9 kB / 1.111 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.944, allocations: 0 / 1.111 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.944, allocations: 4 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.944, allocations: 4 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.9453, allocations: 1.288 MB / 1.113 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.9454, allocations: 175.8 kB / 1.113 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.9455, allocations: 88.08 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.9455, allocations: 75.28 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.9456, allocations: 109.8 kB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.9456, allocations: 0 / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.355e-05/0.9456, allocations: 33.61 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9457, allocations: 51.41 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.9459, allocations: 236.9 kB / 1.113 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.946, allocations: 29.7 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.9461, allocations: 187.4 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.9461, allocations: 0 / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.9461, allocations: 0 / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.9463, allocations: 334.8 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.9464, allocations: 39.97 kB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.9465, allocations: 97.91 kB / 1.114 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.9466, allocations: 55.95 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9466, allocations: 0 / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002738/0.9469, allocations: 161.5 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.9469, allocations: 8 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9469, allocations: 0 / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.947, allocations: 4 kB / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.9471, allocations: 19.98 kB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9471, allocations: 0 / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.9472, allocations: 23.89 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.9472, allocations: 7.938 kB / 1.114 GB, free: 5.625 MB / 0.7136 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 0.0001134/0.9473, allocations: 193.9 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001001/0.9474, allocations: 146.5 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.9475, allocations: 112.8 kB / 1.115 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.9476, allocations: 122.2 kB / 1.115 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-05/0.9477, allocations: 176.3 kB / 1.115 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.658e-05/0.9477, allocations: 180.2 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/0.9478, allocations: 180.6 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.9482, allocations: 469.6 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-05/0.9482, allocations: 109 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.9483, allocations: 104.5 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.358e-05/0.9484, allocations: 176.3 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/0.9485, allocations: 180.2 kB / 1.116 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.195e-05/0.9486, allocations: 184.3 kB / 1.116 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.943e-05/0.9487, allocations: 184.2 kB / 1.117 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.9489, allocations: 311.7 kB / 1.117 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.9491, allocations: 205 kB / 1.117 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.9492, allocations: 184.3 kB / 1.117 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.9493, allocations: 105 kB / 1.117 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.9494, allocations: 185.1 kB / 1.118 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.9494, allocations: 105 kB / 1.118 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001653/0.9496, allocations: 187.9 kB / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9496, allocations: 0 / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003035/0.9499, allocations: 35.78 kB / 1.118 GB, free: 1.66 MB / 0.7136 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.0004501/0.9504, allocations: 0.8242 MB / 1.119 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.9505, allocations: 63.89 kB / 1.119 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9505, allocations: 0 / 1.119 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-06/0.9505, allocations: 4.375 kB / 1.119 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.951, allocations: 0.5421 MB / 1.119 GB, free: 200 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.9518, allocations: 408.2 kB / 1.12 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.9522, allocations: 0.786 MB / 1.12 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.532e-05/0.9523, allocations: 28.41 kB / 1.12 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.9524, allocations: 51.42 kB / 1.121 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of SimCode: time 7.22e-07/0.9524, allocations: 0 / 1.121 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.9733, allocations: 2.277 MB / 1.123 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.9736, allocations: 142.4 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.525, allocations: 5.578 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)