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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 113.1 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 198.1 kB / 20.03 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.138/3.138, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001995/0.001995, allocations: 71.89 kB / 1.103 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002206/1.124, allocations: 0.7623 MB / 1.263 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001166/1.125, allocations: 0.8433 MB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/1.125, allocations: 1.594 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.246e-05/1.125, allocations: 8.531 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/1.125, allocations: 5.938 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/1.126, allocations: 30.27 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/1.126, allocations: 74.72 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/1.126, allocations: 24.03 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.766e-05/1.126, allocations: 27.17 kB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/1.126, allocations: 40.64 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/1.126, allocations: 7.438 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/1.126, allocations: 6.438 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/1.126, allocations: 18.11 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/1.126, allocations: 33.67 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/1.126, allocations: 81.81 kB / 1.265 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.126, allocations: 0 / 1.265 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.565e-06/1.126, allocations: 7.938 kB / 1.265 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.49e-06/1.126, allocations: 0.8125 kB / 1.265 GB, free: 6.699 MB / 0.9981 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.0005829/1.127, allocations: 373 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/1.127, allocations: 9.969 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/1.127, allocations: 7.953 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/1.127, allocations: 180.3 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/1.127, allocations: 2.875 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/1.127, allocations: 3.719 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/1.128, allocations: 90.3 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.128, allocations: 1.031 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.128, allocations: 4.719 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.128, allocations: 0.8125 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/1.128, allocations: 70.56 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/1.128, allocations: 332.8 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/1.129, allocations: 88.02 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/1.129, allocations: 41.3 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/1.129, allocations: 0.8438 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/1.129, allocations: 31.98 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/1.129, allocations: 4.812 kB / 1.266 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0005149/1.129, allocations: 131.9 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.129, allocations: 57.42 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/1.13, allocations: 124.2 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/1.13, allocations: 25.7 kB / 1.266 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/1.13, allocations: 96.7 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/1.13, allocations: 20.42 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/1.13, allocations: 20.64 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/1.13, allocations: 322.5 kB / 1.267 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/1.13, allocations: 30.98 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/1.13, allocations: 31.28 kB / 1.267 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/1.13, allocations: 66.44 kB / 1.267 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.13, allocations: 4 kB / 1.267 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00028/1.131, allocations: 105.7 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.131, allocations: 5.406 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.131, allocations: 0.6562 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.131, allocations: 1.406 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/1.131, allocations: 15.42 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.131, allocations: 1.359 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/1.131, allocations: 14.52 kB / 1.267 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/1.131, allocations: 10.86 kB / 1.267 GB, free: 4.785 MB / 0.9981 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 6.839e-05/1.131, allocations: 121.5 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/1.131, allocations: 7.109 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/1.131, allocations: 10.45 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.131, allocations: 5.062 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.131, allocations: 4.609 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.131, allocations: 2.141 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/1.131, allocations: 193.3 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.131, allocations: 0.7812 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.131, allocations: 20.75 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.131, allocations: 0.7188 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/1.131, allocations: 5.375 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.131, allocations: 4.453 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.131, allocations: 0.5 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/1.132, allocations: 198.6 kB / 1.267 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/1.132, allocations: 88.23 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/1.132, allocations: 1.25 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/1.132, allocations: 5.859 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/1.132, allocations: 13.27 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/1.132, allocations: 2.094 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.204e-05/1.132, allocations: 97.78 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.132, allocations: 0.8125 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002256/1.132, allocations: 9.719 kB / 1.268 GB, free: 4.082 MB / 0.9981 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.0001573/1.133, allocations: 101.9 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003287/1.133, allocations: 78.77 kB / 1.268 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.133, allocations: 0.8125 kB / 1.268 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/1.133, allocations: 38.44 kB / 1.268 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/1.133, allocations: 12.94 kB / 1.268 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/1.134, allocations: 201.6 kB / 1.268 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/1.134, allocations: 0.6884 MB / 1.269 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/1.134, allocations: 14.3 kB / 1.269 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.134, allocations: 0 / 1.269 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.003404/1.138, allocations: 1.059 MB / 1.27 GB, free: 3 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.886499574873596]