Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.002238/0.002238, allocations: 85.48 kB / 19.44 MB, free: 344 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.002647/0.002647, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.403/3.403, allocations: 429.5 MB / 0.6729 GB, free: 4.023 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.654e-05/3.947e-05, allocations: 6.75 kB / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.003108/0.003148, allocations: 0.7537 MB / 0.8783 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.005172, allocations: 0.8699 MB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.005231, allocations: 0 / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.005272, allocations: 5.031 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.005405, allocations: 12.08 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.005653, allocations: 28.62 kB / 0.8792 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.005833, allocations: 67.83 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.005973, allocations: 20.64 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.006132, allocations: 43.84 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.006253, allocations: 41.47 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.006293, allocations: 8 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.32e-05/0.006316, allocations: 4 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.006357, allocations: 15.98 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.006417, allocations: 22.58 kB / 0.8794 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.006641, allocations: 75.8 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006644, allocations: 0 / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006645, allocations: 0 / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.00665, allocations: 0 / 0.8794 GB, free: 4.652 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009322/0.007582, allocations: 404 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.007639, allocations: 9.906 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.007722, allocations: 8.891 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.007959, allocations: 132.4 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.007994, allocations: 12.31 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.008014, allocations: 384 / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.008325, allocations: 82.88 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.008338, allocations: 192 / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.008362, allocations: 2.031 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.008373, allocations: 4.375 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.008688, allocations: 59.91 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.009672, allocations: 312.2 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.0101, allocations: 87.97 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.0103, allocations: 35.77 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.01033, allocations: 11.94 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.01039, allocations: 33.39 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.01039, allocations: 0 / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0006533/0.01104, allocations: 117.6 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.01111, allocations: 55.41 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.01136, allocations: 185.9 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.01139, allocations: 25.81 kB / 0.8809 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.01153, allocations: 146.7 kB / 0.8811 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.01158, allocations: 19.86 kB / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.01167, allocations: 27.36 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003814/0.01205, allocations: 0.4962 MB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.01224, allocations: 27.98 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.01238, allocations: 16 kB / 0.8817 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.01271, allocations: 67.59 kB / 0.8817 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01271, allocations: 0 / 0.8817 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004551/0.01317, allocations: 97.56 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.01319, allocations: 4 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.0132, allocations: 0 / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.01322, allocations: 4 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.01346, allocations: 20.42 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.01347, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.01358, allocations: 7.922 kB / 0.8819 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.0136, allocations: 8 kB / 0.8819 GB, free: 1.969 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 (6): * Single equations (assignments): 6 * 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.0001972/0.0138, allocations: 164.5 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.01387, allocations: 11.89 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.01392, allocations: 12.42 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01392, allocations: 0 / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01392, allocations: 0 / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01393, allocations: 4 kB / 0.882 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.01428, allocations: 148.6 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01428, allocations: 0 / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.01445, allocations: 11.98 kB / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.01446, allocations: 3.938 kB / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.01448, allocations: 4 kB / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.01448, allocations: 0 / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01448, allocations: 0 / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.01507, allocations: 247.8 kB / 0.8824 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.0151, allocations: 7.953 kB / 0.8824 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.01513, allocations: 7.938 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.0153, allocations: 11.98 kB / 0.8825 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.0154, allocations: 11.98 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01541, allocations: 0 / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001633/0.01557, allocations: 147.1 kB / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01557, allocations: 0 / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004257/0.016, allocations: 8 kB / 0.8826 GB, free: 1.117 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 (6): * Single equations (assignments): 6 * 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.0002103/0.01621, allocations: 99.23 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.01666, allocations: 71.66 kB / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01666, allocations: 0 / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.01691, allocations: 47.61 kB / 0.8828 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.01738, allocations: 11.98 kB / 0.8828 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008161/0.01819, allocations: 182 kB / 0.883 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.01832, allocations: 75.19 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.945e-05/0.01841, allocations: 8 kB / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.01851, allocations: 20.48 kB / 0.8831 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of SimCode: time 7.51e-07/0.01851, allocations: 0 / 0.8831 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of Templates: time 0.007633/0.02615, allocations: 1.353 MB / 0.8844 GB, free: 15.21 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.590425826027058]