Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001394/0.001394, allocations: 77.48 kB / 19.18 MB, free: 2.52 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.001637/0.001637, allocations: 164.8 kB / 22.45 MB, free: 5.375 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.738/2.738, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.768e-05, allocations: 11.91 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00214/0.002178, allocations: 0.6913 MB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.003627, allocations: 0.8899 MB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.00367, allocations: 0 / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.003708, allocations: 7.938 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.003785, allocations: 7.875 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.003962, allocations: 15.98 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.004081, allocations: 51.84 kB / 0.9527 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.004189, allocations: 0 / 0.9527 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.004286, allocations: 31.89 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.004335, allocations: 15.98 kB / 0.9527 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.004366, allocations: 4 kB / 0.9527 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.004378, allocations: 4 kB / 0.9527 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.004396, allocations: 4 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.004428, allocations: 19.92 kB / 0.9527 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.004562, allocations: 43.86 kB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.004568, allocations: 3.984 kB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.123e-06/0.004569, allocations: 0 / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.004579, allocations: 3.938 kB / 0.9528 GB, free: 9.691 MB / 0.8575 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.0006059/0.005185, allocations: 286.2 kB / 0.9531 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.005225, allocations: 8.031 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.005271, allocations: 4.938 kB / 0.9531 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.005416, allocations: 113.7 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.005425, allocations: 8.312 kB / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.005445, allocations: 4.375 kB / 0.9532 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.005741, allocations: 70.2 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.005753, allocations: 192 / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.005764, allocations: 384 / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.005768, allocations: 384 / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.006087, allocations: 71.86 kB / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.00646, allocations: 212.5 kB / 0.9535 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.006676, allocations: 50.55 kB / 0.9536 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.006841, allocations: 40.91 kB / 0.9536 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.006862, allocations: 4 kB / 0.9536 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.006892, allocations: 30.56 kB / 0.9537 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.006894, allocations: 0 / 0.9537 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006009/0.007494, allocations: 141.4 kB / 0.9538 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.007536, allocations: 51.41 kB / 0.9538 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.007649, allocations: 113.8 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.007668, allocations: 25.7 kB / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.007732, allocations: 88.14 kB / 0.9541 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.007754, allocations: 11.91 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.007803, allocations: 17.7 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.007954, allocations: 314.8 kB / 0.9544 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.008109, allocations: 27.97 kB / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.008279, allocations: 35.95 kB / 0.9545 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.008593, allocations: 77 kB / 0.9545 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.008595, allocations: 0 / 0.9545 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003715/0.008966, allocations: 97.61 kB / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.008985, allocations: 7.938 kB / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.00899, allocations: 0 / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.009004, allocations: 0 / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.009147, allocations: 19.98 kB / 0.9546 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.009153, allocations: 0 / 0.9546 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.009245, allocations: 15.97 kB / 0.9547 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.009257, allocations: 4 kB / 0.9547 GB, free: 7.602 MB / 0.8575 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.0001095/0.009366, allocations: 110.7 kB / 0.9548 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.009395, allocations: 7.953 kB / 0.9548 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.009428, allocations: 11.88 kB / 0.9548 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.00943, allocations: 0 / 0.9548 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.009436, allocations: 4 kB / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.009438, allocations: 4 kB / 0.9548 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.009597, allocations: 109.3 kB / 0.9549 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009598, allocations: 4 kB / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.009707, allocations: 19.91 kB / 0.9549 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.00971, allocations: 3.938 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.009718, allocations: 0 / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.009722, allocations: 7.938 kB / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009724, allocations: 0 / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.01016, allocations: 187.5 kB / 0.9551 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.01017, allocations: 7.953 kB / 0.9551 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.01019, allocations: 7.984 kB / 0.9551 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.01031, allocations: 15.92 kB / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.01036, allocations: 0 / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-06/0.01036, allocations: 0 / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.01044, allocations: 99.55 kB / 0.9552 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01044, allocations: 0 / 0.9552 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000229/0.01067, allocations: 4 kB / 0.9552 GB, free: 6.949 MB / 0.8575 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.000152/0.01082, allocations: 107.1 kB / 0.9553 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.01122, allocations: 67.92 kB / 0.9554 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01122, allocations: 0 / 0.9554 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.01139, allocations: 35.95 kB / 0.9554 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.01174, allocations: 12 kB / 0.9555 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.01219, allocations: 120.9 kB / 0.9556 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.01228, allocations: 67.28 kB / 0.9556 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.01231, allocations: 7.938 kB / 0.9556 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.01235, allocations: 8.5 kB / 0.9557 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.01235, allocations: 0 / 0.9557 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of Templates: time 0.003969/0.01632, allocations: 0.7815 MB / 0.9564 GB, free: 5.703 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.143233146518469]