Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.674/2.674, allocations: 390.3 MB / 402.9 MB, free: 6.699 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.001109/0.001109, allocations: 188.8 kB / 496.1 MB, free: 12.87 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.46/1.46, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001232/0.001232, allocations: 87.77 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.009e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2829, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.346, allocations: 149.4 MB / 1.365 GB, free: 4.652 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.346, allocations: 71.2 kB / 1.365 GB, free: 4.613 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005892/1.352, allocations: 2.378 MB / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.367e-06/1.352, allocations: 0 / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.716e-05/1.352, allocations: 4.875 kB / 1.367 GB, free: 2.469 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004486/1.352, allocations: 458.9 kB / 1.368 GB, free: 1.992 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.352, allocations: 12.03 kB / 1.368 GB, free: 1.98 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/1.352, allocations: 56.42 kB / 1.368 GB, free: 1.926 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/1.353, allocations: 23.72 kB / 1.368 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/1.353, allocations: 270 kB / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/1.353, allocations: 14.94 kB / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/1.353, allocations: 18 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/1.353, allocations: 351.2 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.353, allocations: 4 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/1.353, allocations: 10.88 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/1.354, allocations: 4 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/1.354, allocations: 232.5 kB / 1.369 GB, free: 1.086 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/1.355, allocations: 1.491 MB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/1.355, allocations: 176.6 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/1.355, allocations: 84.17 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/1.355, allocations: 75.28 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.355, allocations: 113.8 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/1.355, allocations: 0 / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.373e-05/1.356, allocations: 57.31 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/1.356, allocations: 126.7 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/1.356, allocations: 478.7 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/1.356, allocations: 29.64 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/1.356, allocations: 164.2 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/1.356, allocations: 0 / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/1.356, allocations: 0 / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.356, allocations: 341.7 kB / 1.372 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/1.356, allocations: 55.39 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/1.357, allocations: 90.09 kB / 1.372 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.453e-05/1.357, allocations: 67.58 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.357, allocations: 0 / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000285/1.357, allocations: 186.2 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.357, allocations: 9.406 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.357, allocations: 4.25 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.357, allocations: 4 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.357, allocations: 27.86 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.357, allocations: 3.953 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/1.357, allocations: 47.39 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/1.357, allocations: 8 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.112e-05/1.357, allocations: 176.3 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/1.357, allocations: 128.6 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/1.358, allocations: 141.3 kB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.642e-05/1.358, allocations: 184.2 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.045e-05/1.358, allocations: 180.2 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.336e-05/1.358, allocations: 184 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/1.358, allocations: 493.2 kB / 1.373 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/1.358, allocations: 105 kB / 1.374 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/1.358, allocations: 108.9 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.939e-05/1.358, allocations: 176.3 kB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/1.358, allocations: 176.3 kB / 1.374 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.576e-05/1.358, allocations: 188 kB / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.626e-05/1.358, allocations: 180.3 kB / 1.374 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/1.359, allocations: 334.6 kB / 1.375 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/1.359, allocations: 233.2 kB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/1.359, allocations: 176.3 kB / 1.375 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/1.359, allocations: 105 kB / 1.375 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/1.359, allocations: 184.2 kB / 1.375 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/1.359, allocations: 105.5 kB / 1.375 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003484/1.359, allocations: 363.4 kB / 1.376 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.359, allocations: 0 / 1.376 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002773/1.36, allocations: 27.25 kB / 1.376 GB, free: 9.625 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.0005283/1.36, allocations: 0.8395 MB / 1.377 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001397/1.36, allocations: 62.7 kB / 1.377 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.36, allocations: 0 / 1.377 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/1.36, allocations: 7.688 kB / 1.377 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/1.361, allocations: 0.5467 MB / 1.377 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/1.362, allocations: 459.8 kB / 1.378 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/1.362, allocations: 0.7814 MB / 1.378 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.349e-05/1.362, allocations: 49.52 kB / 1.378 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/1.362, allocations: 63.48 kB / 1.379 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.362, allocations: 0 / 1.379 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/1.377, allocations: 4.033 MB / 1.382 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.377, allocations: 171.5 kB / 1.383 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/3.2, allocations: 0 / 1.383 GB, free: 2.727 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat does not exist to compare? outputFormat=mat