Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008884/0.0008884, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000985/0.000985, allocations: 173.3 kB / 23.03 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9211/0.9211, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.149/2.149, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.826e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001439/0.001457, allocations: 0.7671 MB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001704/0.001627, allocations: 53.34 kB / 0.879 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.001663, allocations: 4 kB / 0.8791 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.001769, allocations: 13.83 kB / 0.8791 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.001806, allocations: 14.42 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.001923, allocations: 29.55 kB / 0.8791 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.002068, allocations: 125.4 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.002202, allocations: 88.89 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.002279, allocations: 95.8 kB / 0.8794 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.002344, allocations: 67.86 kB / 0.8795 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.002373, allocations: 12 kB / 0.8795 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.002392, allocations: 14.75 kB / 0.8795 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.002445, allocations: 55.78 kB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.002491, allocations: 47.84 kB / 0.8796 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.002639, allocations: 171.4 kB / 0.8798 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00264, allocations: 3.938 kB / 0.8798 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002641, allocations: 0 / 0.8798 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.002645, allocations: 0 / 0.8798 GB, free: 4.727 MB / 0.8386 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.0004099/0.003055, allocations: 0.5319 MB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.003088, allocations: 8.031 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.003141, allocations: 42.44 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.00331, allocations: 197.1 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.003322, allocations: 16.75 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.003339, allocations: 12.38 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.003589, allocations: 235.5 kB / 0.8808 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003597, allocations: 192 / 0.8808 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.003612, allocations: 12.38 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.003639, allocations: 20.11 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.003776, allocations: 133.8 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.004493, allocations: 1.086 MB / 0.882 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/0.004567, allocations: 265.4 kB / 0.8822 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.004599, allocations: 126.9 kB / 0.8824 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.00463, allocations: 127.2 kB / 0.8825 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.004673, allocations: 156.6 kB / 0.8826 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.004674, allocations: 0 / 0.8826 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.365e-05/0.004728, allocations: 41.55 kB / 0.8827 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.004781, allocations: 174.6 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.004957, allocations: 291.1 kB / 0.8831 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.004966, allocations: 29.7 kB / 0.8831 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.00506, allocations: 238.7 kB / 0.8834 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.005062, allocations: 0 / 0.8834 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.005102, allocations: 39.36 kB / 0.8834 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.005231, allocations: 0.5001 MB / 0.8839 GB, free: 280 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.005253, allocations: 4 kB / 0.8839 GB, free: 276 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.005304, allocations: 77.48 kB / 0.884 GB, free: 164 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.005386, allocations: 105.4 kB / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005389, allocations: 0 / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001574/0.005546, allocations: 97.39 kB / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.005558, allocations: 8 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.005562, allocations: 4.25 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.005575, allocations: 4 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.005641, allocations: 23.92 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.005648, allocations: 7.875 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.005692, allocations: 19.89 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.005703, allocations: 8 kB / 0.8842 GB, free: 15.85 MB / 0.8542 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/0.005801, allocations: 283.8 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.005851, allocations: 152.8 kB / 0.8847 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.005897, allocations: 161.3 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/0.005949, allocations: 272.1 kB / 0.8851 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-05/0.006004, allocations: 276 kB / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.288e-05/0.006057, allocations: 268 kB / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.006371, allocations: 0.5858 MB / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.047e-05/0.006421, allocations: 160.8 kB / 0.8863 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.00646, allocations: 144.9 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-05/0.006533, allocations: 268 kB / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.006614, allocations: 268.1 kB / 0.887 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.351e-05/0.006687, allocations: 268.1 kB / 0.8872 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.679e-05/0.006774, allocations: 268 kB / 0.8875 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.006942, allocations: 463.8 kB / 0.8879 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.006991, allocations: 152.8 kB / 0.8881 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.007069, allocations: 272.1 kB / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.007139, allocations: 156.8 kB / 0.8885 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.007201, allocations: 264.1 kB / 0.8887 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.007236, allocations: 152.8 kB / 0.8889 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.248e-05/0.007328, allocations: 187.1 kB / 0.889 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007328, allocations: 0 / 0.889 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001749/0.007503, allocations: 43.78 kB / 0.8891 GB, free: 10.68 MB / 0.8542 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.896e-05/0.007602, allocations: 214.4 kB / 0.8893 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.838e-05/0.007701, allocations: 39.67 kB / 0.8893 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.007703, allocations: 0 / 0.8893 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.007704, allocations: 0 / 0.8893 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.008094, allocations: 0.7256 MB / 0.89 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.008463, allocations: 439.3 kB / 0.8905 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.639e-05/0.00852, allocations: 103.3 kB / 0.8906 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.953e-05/0.008559, allocations: 20.47 kB / 0.8906 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.008585, allocations: 12.5 kB / 0.8906 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.008585, allocations: 448 / 0.8906 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.002509/0.01109, allocations: 1.036 MB / 0.8916 GB, free: 8.059 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3793860911391675]