Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001943/0.001943, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.0026/0.0026, allocations: 161 kB / 23.01 MB, free: 4.602 MB / 14.72 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.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.781/2.781, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 67.88 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9147/0.9169, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002289/0.9192, allocations: 0.7373 MB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.9201, allocations: 0.8613 MB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.9202, allocations: 2.75 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.9202, allocations: 11.34 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.9203, allocations: 7.938 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.9204, allocations: 36.06 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.9205, allocations: 62.03 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.9207, allocations: 24.39 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.9207, allocations: 34 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.9208, allocations: 37.23 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.9208, allocations: 11.84 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.9208, allocations: 5.75 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.9209, allocations: 13.94 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.9209, allocations: 31.61 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.921, allocations: 73.48 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.921, allocations: 2.969 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.921, allocations: 0 / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.921, allocations: 0 / 1.156 GB, free: 32.02 MB / 1.076 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.0005341/0.9216, allocations: 298 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.9216, allocations: 9.906 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.9216, allocations: 18.83 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.9217, allocations: 127.5 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.9218, allocations: 384 / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.9218, allocations: 6.125 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.922, allocations: 85.67 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.922, allocations: 192 / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.922, allocations: 3.938 kB / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.922, allocations: 3 kB / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.9222, allocations: 73.06 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.9226, allocations: 255.5 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.9229, allocations: 82.94 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.923, allocations: 36.8 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.923, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.923, allocations: 40.77 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.923, allocations: 0 / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0004487/0.9235, allocations: 134.6 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.9235, allocations: 51.41 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.9236, allocations: 119.1 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.9236, allocations: 28.67 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.9236, allocations: 98.33 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.9236, allocations: 18.77 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.9237, allocations: 19.98 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.9237, allocations: 321 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.9238, allocations: 33.39 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.9239, allocations: 27.3 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.9241, allocations: 75.25 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9242, allocations: 0 / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002442/0.9244, allocations: 107.6 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.9244, allocations: 5.625 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9244, allocations: 0 / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9244, allocations: 7.938 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.9246, allocations: 18.7 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.9246, allocations: 0 / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.9247, allocations: 9.312 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.9247, allocations: 0 / 1.158 GB, free: 30.35 MB / 1.076 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 5.292e-05/0.9247, allocations: 120.3 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.9247, allocations: 14.97 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.9248, allocations: 11.12 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9248, allocations: 0 / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9248, allocations: 4 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.9248, allocations: 3 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.9249, allocations: 134.6 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9249, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.925, allocations: 21.64 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.925, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.925, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.925, allocations: 2.719 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.925, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.9253, allocations: 206.4 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.9253, allocations: 6.094 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.9254, allocations: 4 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.9255, allocations: 8.219 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.9255, allocations: 9.766 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.9255, allocations: 5.891 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.9256, allocations: 95.11 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9256, allocations: 2.812 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00023/0.9258, allocations: 15.92 kB / 1.159 GB, free: 29.8 MB / 1.076 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 8.997e-05/0.9259, allocations: 103.1 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.9262, allocations: 69.31 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9262, allocations: 0 / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.9263, allocations: 42.41 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.9266, allocations: 14.69 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.927, allocations: 166 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.585e-05/0.927, allocations: 81.38 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.548e-05/0.9271, allocations: 6 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.9271, allocations: 13.91 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.9271, allocations: 4 kB / 1.159 GB, free: 29.44 MB / 1.076 GB Notification: Performance of Templates: time 0.003691/0.9308, allocations: 1.331 MB / 1.16 GB, free: 29.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.956808801041916]