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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.52/2.52, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001024/0.001024, allocations: 169 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.783/1.783, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001091/0.00109, allocations: 95.95 kB / 0.9318 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.585e-05/4.593e-05, allocations: 6.266 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3498, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.955/1.305, allocations: 149.4 MB / 1.365 GB, free: 4.637 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/1.305, allocations: 63.95 kB / 1.365 GB, free: 4.602 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00559/1.311, allocations: 2.314 MB / 1.367 GB, free: 2.512 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.643e-06/1.311, allocations: 0 / 1.367 GB, free: 2.512 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.375e-05/1.311, allocations: 8.875 kB / 1.367 GB, free: 2.504 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.0004007/1.311, allocations: 453.7 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.311, allocations: 8.031 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/1.311, allocations: 23.72 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/1.312, allocations: 269.3 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/1.312, allocations: 15.06 kB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/1.312, allocations: 22.56 kB / 1.368 GB, free: 1.684 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/1.312, allocations: 337.3 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.312, allocations: 0 / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/1.312, allocations: 10.94 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.312, allocations: 4 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/1.313, allocations: 236.9 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/1.314, allocations: 1.416 MB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/1.314, allocations: 168.9 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/1.314, allocations: 80.14 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/1.314, allocations: 83.31 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/1.314, allocations: 105.8 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/1.314, allocations: 4 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.139e-05/1.314, allocations: 53.36 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/1.314, allocations: 130.6 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/1.315, allocations: 461.5 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/1.315, allocations: 25.7 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/1.315, allocations: 174.2 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/1.315, allocations: 0 / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/1.315, allocations: 0 / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.315, allocations: 339.5 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/1.315, allocations: 48.59 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/1.315, allocations: 87.28 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/1.315, allocations: 66.39 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.315, allocations: 4 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002644/1.316, allocations: 178.5 kB / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.316, allocations: 8 kB / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.316, allocations: 224 / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.316, allocations: 11.98 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/1.316, allocations: 19.94 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.316, allocations: 11.92 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/1.316, allocations: 35.64 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/1.316, allocations: 11.56 kB / 1.372 GB, free: 13.82 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.822e-05/1.316, allocations: 180.3 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/1.316, allocations: 128.6 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/1.316, allocations: 141 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-05/1.316, allocations: 180.3 kB / 1.372 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-05/1.316, allocations: 180.2 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.523e-05/1.317, allocations: 179.4 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/1.317, allocations: 497.7 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.975e-05/1.317, allocations: 105 kB / 1.373 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/1.317, allocations: 109 kB / 1.373 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.612e-05/1.317, allocations: 180.2 kB / 1.373 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/1.317, allocations: 176.3 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.817e-05/1.317, allocations: 190.8 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.817e-05/1.317, allocations: 176.3 kB / 1.374 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/1.317, allocations: 338.5 kB / 1.374 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/1.318, allocations: 225 kB / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/1.318, allocations: 183.5 kB / 1.375 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/1.318, allocations: 109 kB / 1.375 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/1.318, allocations: 184.2 kB / 1.375 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/1.318, allocations: 109.9 kB / 1.375 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003452/1.318, allocations: 357 kB / 1.375 GB, free: 9.863 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.318, allocations: 0 / 1.375 GB, free: 9.863 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002776/1.319, allocations: 27.25 kB / 1.375 GB, free: 9.84 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.0001618/1.319, allocations: 174.5 kB / 1.376 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001231/1.319, allocations: 63.33 kB / 1.376 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.319, allocations: 4.062 kB / 1.376 GB, free: 9.602 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/1.319, allocations: 0 / 1.376 GB, free: 9.602 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/1.319, allocations: 0.554 MB / 1.376 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/1.32, allocations: 376.7 kB / 1.377 GB, free: 8.684 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/1.32, allocations: 0.7845 MB / 1.377 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.653e-05/1.32, allocations: 45.53 kB / 1.377 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/1.32, allocations: 15.44 kB / 1.377 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.32, allocations: 0 / 1.377 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.003998/1.324, allocations: 1.614 MB / 1.379 GB, free: 6.23 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches