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.001619/0.001619, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.002004/0.002004, allocations: 165 kB / 24.05 MB, free: 452 kB / 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.109/1.109, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.185/2.185, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.114e-06/2.114e-06, allocations: 0.6562 kB / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.053e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002089/0.00212, allocations: 0.7637 MB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.002388, allocations: 53.42 kB / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.002447, allocations: 7.938 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.002604, allocations: 21.41 kB / 0.8803 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.002659, allocations: 8.922 kB / 0.8803 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.002814, allocations: 25.02 kB / 0.8803 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.003039, allocations: 132.2 kB / 0.8804 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.003212, allocations: 86.03 kB / 0.8805 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.003293, allocations: 93.03 kB / 0.8806 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.003366, allocations: 67.81 kB / 0.8807 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.003393, allocations: 12 kB / 0.8807 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.775e-05/0.003411, allocations: 13 kB / 0.8807 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.003469, allocations: 55.84 kB / 0.8808 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.003516, allocations: 51.78 kB / 0.8808 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.003666, allocations: 172.4 kB / 0.881 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003668, allocations: 3.938 kB / 0.881 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003669, allocations: 1.125 kB / 0.881 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.003673, allocations: 0 / 0.881 GB, free: 4.426 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.0004023/0.004076, allocations: 0.5311 MB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.004109, allocations: 9.094 kB / 0.8815 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.00416, allocations: 44.78 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.00432, allocations: 177.2 kB / 0.8817 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.004333, allocations: 17.81 kB / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.004353, allocations: 20.36 kB / 0.8818 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.004563, allocations: 190.8 kB / 0.8819 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004571, allocations: 192 / 0.8819 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.00459, allocations: 21.91 kB / 0.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.004616, allocations: 20.06 kB / 0.882 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.33e-05/0.004699, allocations: 71.89 kB / 0.882 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.005436, allocations: 1.009 MB / 0.883 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.005551, allocations: 265.9 kB / 0.8833 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.005594, allocations: 130.9 kB / 0.8834 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.00563, allocations: 120.7 kB / 0.8835 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.005686, allocations: 152.6 kB / 0.8837 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.005687, allocations: 0 / 0.8837 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.415e-05/0.005771, allocations: 46.11 kB / 0.8837 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.005845, allocations: 174.6 kB / 0.8839 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.006017, allocations: 284.5 kB / 0.8842 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.006025, allocations: 25.7 kB / 0.8842 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.006129, allocations: 239.8 kB / 0.8844 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.006131, allocations: 0 / 0.8844 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.006173, allocations: 35.34 kB / 0.8844 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.0063, allocations: 0.5053 MB / 0.8849 GB, free: 180 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.006317, allocations: 4 kB / 0.8849 GB, free: 176 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-05/0.006365, allocations: 81.47 kB / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.261e-05/0.006458, allocations: 100.8 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.006461, allocations: 0 / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001495/0.00661, allocations: 94.73 kB / 0.8852 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.006625, allocations: 14.38 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00663, allocations: 0 / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.006639, allocations: 4 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.006715, allocations: 27.92 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006719, allocations: 0 / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.006768, allocations: 23.83 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.006786, allocations: 8 kB / 0.8853 GB, free: 15.76 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 0.0001018/0.006887, allocations: 275.8 kB / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.006949, allocations: 164.8 kB / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.006998, allocations: 153.4 kB / 0.8858 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-05/0.007063, allocations: 276 kB / 0.8861 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.155e-05/0.007124, allocations: 272 kB / 0.8864 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.008e-05/0.007184, allocations: 268.1 kB / 0.8866 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.007417, allocations: 0.5394 MB / 0.8871 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-05/0.007454, allocations: 152.9 kB / 0.8873 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.00749, allocations: 148.9 kB / 0.8874 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.007572, allocations: 268 kB / 0.8877 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.72e-05/0.007659, allocations: 268.1 kB / 0.8879 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.501e-05/0.007754, allocations: 268 kB / 0.8882 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.537e-05/0.007839, allocations: 264.1 kB / 0.8885 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.008043, allocations: 467.8 kB / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.008106, allocations: 156.8 kB / 0.889 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.008213, allocations: 268 kB / 0.8893 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.008324, allocations: 152.9 kB / 0.8895 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.0084, allocations: 268 kB / 0.8897 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.008438, allocations: 148.9 kB / 0.8898 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001046/0.008542, allocations: 179.1 kB / 0.89 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008542, allocations: 0 / 0.89 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002122/0.008755, allocations: 43.78 kB / 0.8901 GB, free: 10.66 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.0001466/0.008901, allocations: 210.4 kB / 0.8903 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.008994, allocations: 39.61 kB / 0.8903 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.008996, allocations: 0 / 0.8903 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.008999, allocations: 7.922 kB / 0.8903 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.009403, allocations: 0.7217 MB / 0.891 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.009799, allocations: 439.3 kB / 0.8914 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.513e-05/0.009854, allocations: 99.28 kB / 0.8915 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.372e-05/0.009888, allocations: 8.5 kB / 0.8915 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.009948, allocations: 82.69 kB / 0.8916 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/0.009948, allocations: 4 kB / 0.8916 GB, free: 9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003016/0.01296, allocations: 1.065 MB / 0.8927 GB, free: 7.957 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.663441020064056]