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.001332/0.001332, allocations: 92.22 kB / 19.65 MB, free: 276 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.001327/0.001327, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.183/2.183, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.254e-06/2.254e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.219e-05, allocations: 3.531 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001436/0.001468, allocations: 0.7621 MB / 0.879 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002062/0.001674, allocations: 60.25 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.001714, allocations: 4.594 kB / 0.8791 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.00184, allocations: 22.05 kB / 0.8791 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.161e-05/0.001882, allocations: 9.406 kB / 0.8791 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.002008, allocations: 27.95 kB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.002152, allocations: 125.9 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.002308, allocations: 82.97 kB / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.002388, allocations: 95.84 kB / 0.8794 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.002459, allocations: 67.81 kB / 0.8795 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.002488, allocations: 12 kB / 0.8795 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.002518, allocations: 12.94 kB / 0.8795 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.002583, allocations: 55.78 kB / 0.8795 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.002633, allocations: 52.95 kB / 0.8796 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.002791, allocations: 171.3 kB / 0.8798 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002793, allocations: 0 / 0.8798 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002794, allocations: 5.125 kB / 0.8798 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002798, allocations: 0 / 0.8798 GB, free: 4.738 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.0004065/0.003205, allocations: 0.5351 MB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.003237, allocations: 13.06 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.003288, allocations: 36.8 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.00347, allocations: 186.2 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.003484, allocations: 16.73 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.003503, allocations: 20.31 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.003769, allocations: 235.8 kB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.003779, allocations: 4.172 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.003796, allocations: 12.36 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.003824, allocations: 16.12 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.003969, allocations: 140.4 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.004698, allocations: 1.086 MB / 0.882 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.00478, allocations: 267.3 kB / 0.8822 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.004814, allocations: 126.9 kB / 0.8824 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.004845, allocations: 119.2 kB / 0.8825 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.004889, allocations: 152.6 kB / 0.8826 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.004889, allocations: 5.344 kB / 0.8826 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.295e-05/0.004952, allocations: 41.55 kB / 0.8827 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.005008, allocations: 170.6 kB / 0.8828 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.005188, allocations: 291.1 kB / 0.8831 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.005197, allocations: 26.8 kB / 0.8831 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.005295, allocations: 238.7 kB / 0.8834 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.005299, allocations: 3.984 kB / 0.8834 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.005336, allocations: 28.03 kB / 0.8834 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.005469, allocations: 0.5017 MB / 0.8839 GB, free: 308 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.005494, allocations: 11.98 kB / 0.8839 GB, free: 296 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.005545, allocations: 77.48 kB / 0.884 GB, free: 184 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.005623, allocations: 99.89 kB / 0.8841 GB, free: 52 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005625, allocations: 0 / 0.8841 GB, free: 52 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001663/0.005791, allocations: 99.45 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.005803, allocations: 8.719 kB / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005807, allocations: 0 / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.00582, allocations: 5.125 kB / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.005893, allocations: 23.92 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.005899, allocations: 3.938 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.005943, allocations: 24.12 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.005957, allocations: 20 kB / 0.8842 GB, free: 15.87 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.158e-05/0.006049, allocations: 271.8 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.0061, allocations: 160.8 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.006155, allocations: 165.3 kB / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.517e-05/0.00622, allocations: 264.1 kB / 0.8851 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.054e-05/0.00628, allocations: 272 kB / 0.8853 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.154e-05/0.006342, allocations: 276 kB / 0.8856 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.006578, allocations: 0.5858 MB / 0.8862 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-05/0.006614, allocations: 148.9 kB / 0.8863 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.00665, allocations: 152.9 kB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.264e-05/0.006713, allocations: 272 kB / 0.8867 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.006778, allocations: 268.1 kB / 0.887 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.098e-05/0.006839, allocations: 272 kB / 0.8872 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.06e-05/0.0069, allocations: 264.1 kB / 0.8875 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.007033, allocations: 459.8 kB / 0.8879 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.007079, allocations: 156.8 kB / 0.8881 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.00715, allocations: 272 kB / 0.8883 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.007215, allocations: 148.9 kB / 0.8885 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.007277, allocations: 268 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.007314, allocations: 148.9 kB / 0.8889 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001008/0.007415, allocations: 195.1 kB / 0.889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007415, allocations: 0 / 0.889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001794/0.007594, allocations: 43.78 kB / 0.8891 GB, free: 10.7 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 0.0001022/0.007696, allocations: 214.4 kB / 0.8893 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.09e-05/0.007787, allocations: 31.61 kB / 0.8893 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.007788, allocations: 4 kB / 0.8893 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/0.007791, allocations: 3.938 kB / 0.8893 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.008194, allocations: 0.7223 MB / 0.89 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.008616, allocations: 443.3 kB / 0.8905 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.507e-05/0.008672, allocations: 95.3 kB / 0.8905 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.008713, allocations: 20.47 kB / 0.8906 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.008743, allocations: 12.5 kB / 0.8906 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.008744, allocations: 0 / 0.8906 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of Templates: time 0.002554/0.0113, allocations: 0.9924 MB / 0.8916 GB, free: 8.133 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.731828934978694]