Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.002319/0.002319, allocations: 93.47 kB / 19.44 MB, free: 336 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.00292/0.00292, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.64/1.64, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.49/3.49, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.921e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001971/0.002, allocations: 0.7097 MB / 0.8782 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003145, allocations: 0.8338 MB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.003181, allocations: 0.5469 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.003205, allocations: 5.312 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.003282, allocations: 11.09 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.003394, allocations: 12.7 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.533e-05/0.003489, allocations: 48.06 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.003571, allocations: 4.625 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.183e-05/0.003663, allocations: 27.92 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.003714, allocations: 17.06 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.003737, allocations: 4 kB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.003749, allocations: 4 kB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.003771, allocations: 12.58 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.0038, allocations: 11.98 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.003902, allocations: 41.25 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.003904, allocations: 3.938 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003905, allocations: 4 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.003908, allocations: 3.969 kB / 0.8792 GB, free: 4.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005451/0.004453, allocations: 376.2 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.00449, allocations: 8.031 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.004531, allocations: 4.938 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.004661, allocations: 124.5 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004673, allocations: 384 / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.004683, allocations: 384 / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.004878, allocations: 58.23 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.004887, allocations: 192 / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.004899, allocations: 4.375 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.004903, allocations: 1.25 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.005081, allocations: 40.97 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.005493, allocations: 275.7 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.005654, allocations: 48.11 kB / 0.8801 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.005763, allocations: 36.88 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.005786, allocations: 0 / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.005823, allocations: 37.39 kB / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.005824, allocations: 3.438 kB / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004554/0.00628, allocations: 101.5 kB / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.00633, allocations: 51.41 kB / 0.8803 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.006469, allocations: 173.9 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.006493, allocations: 25.7 kB / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.006577, allocations: 138.9 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.006603, allocations: 11.91 kB / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.006647, allocations: 20.31 kB / 0.8807 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000261/0.006908, allocations: 0.4884 MB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.007003, allocations: 20.58 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.007087, allocations: 21.53 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.007272, allocations: 51.66 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007274, allocations: 1.312 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002251/0.007499, allocations: 73.61 kB / 0.8813 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.007517, allocations: 12.44 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.007521, allocations: 0 / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.007534, allocations: 1.219 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/0.007632, allocations: 15.92 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.007637, allocations: 0 / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.007689, allocations: 11.98 kB / 0.8814 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.0077, allocations: 4 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001131/0.007813, allocations: 160.6 kB / 0.8815 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.007842, allocations: 3.953 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.00811, allocations: 93.53 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.008112, allocations: 0 / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.008115, allocations: 0 / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.008117, allocations: 0 / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.008285, allocations: 124.6 kB / 0.8817 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008286, allocations: 0 / 0.8817 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.008358, allocations: 11.98 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008359, allocations: 0 / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.008367, allocations: 4 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.008373, allocations: 3.938 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008373, allocations: 0 / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.008692, allocations: 227.9 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.008702, allocations: 7.891 kB / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.008717, allocations: 4 kB / 0.882 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.008799, allocations: 15.92 kB / 0.882 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.008842, allocations: 4 kB / 0.882 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.008848, allocations: 3.984 kB / 0.882 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.196e-05/0.00893, allocations: 131.2 kB / 0.8821 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00893, allocations: 0 / 0.8821 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002207/0.009151, allocations: 8 kB / 0.8821 GB, free: 1.59 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001229/0.009274, allocations: 95.19 kB / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.009522, allocations: 59.64 kB / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009523, allocations: 0 / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.009634, allocations: 35.61 kB / 0.8823 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.009892, allocations: 14 kB / 0.8823 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.01023, allocations: 130.3 kB / 0.8825 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.439e-05/0.01031, allocations: 67.2 kB / 0.8825 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.01034, allocations: 11.94 kB / 0.8825 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.01037, allocations: 8.5 kB / 0.8825 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.01037, allocations: 0 / 0.8825 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of Templates: time 0.003569/0.01394, allocations: 0.755 MB / 0.8833 GB, free: 380 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.822453492088243]