Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001811/0.001811, allocations: 92.7 kB / 19.44 MB, free: 324 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.0023/0.0023, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.23/3.23, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.861e-05/4.16e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002344/0.002385, allocations: 0.712 MB / 0.8783 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.003892, allocations: 0.8921 MB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.003936, allocations: 4 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.003969, allocations: 5.031 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.047e-05/0.004049, allocations: 9.016 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.004256, allocations: 20.98 kB / 0.8793 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.861e-05/0.004355, allocations: 43.84 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004457, allocations: 8 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.004562, allocations: 25 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.581e-05/0.004618, allocations: 19.92 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.004639, allocations: 0.5938 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.004653, allocations: 4 kB / 0.8794 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.004676, allocations: 15.61 kB / 0.8794 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.004714, allocations: 15.92 kB / 0.8794 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.004833, allocations: 39.88 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004835, allocations: 0 / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004836, allocations: 0 / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004841, allocations: 0 / 0.8794 GB, free: 4.672 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.0006584/0.005499, allocations: 290.2 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.005542, allocations: 8.031 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.005597, allocations: 5.562 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.005751, allocations: 117.7 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.005765, allocations: 0.9688 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.00578, allocations: 5.062 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.006079, allocations: 71.17 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.0061, allocations: 192 / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.006112, allocations: 1.906 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006117, allocations: 384 / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.006444, allocations: 68.73 kB / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.006872, allocations: 213.4 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.007118, allocations: 58.48 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.007293, allocations: 40.91 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.007318, allocations: 0 / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.007355, allocations: 30.56 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 6.132e-06/0.007362, allocations: 3.984 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0006324/0.007994, allocations: 145.4 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.008054, allocations: 51.41 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.008179, allocations: 109.8 kB / 0.8806 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.008202, allocations: 25.7 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.008274, allocations: 88.14 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.008296, allocations: 3.953 kB / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.008343, allocations: 17.72 kB / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.008535, allocations: 318.8 kB / 0.881 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.008701, allocations: 35.97 kB / 0.8811 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.008849, allocations: 32.7 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.009164, allocations: 64.8 kB / 0.8811 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.009169, allocations: 3.984 kB / 0.8812 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003798/0.009548, allocations: 105.5 kB / 0.8813 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.009568, allocations: 7.938 kB / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.009573, allocations: 0 / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.009591, allocations: 4 kB / 0.8813 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.009733, allocations: 11.98 kB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.009739, allocations: 0 / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.009827, allocations: 15.98 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.009834, allocations: 0 / 0.8813 GB, free: 2.586 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.0001407/0.009975, allocations: 117.8 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.01001, allocations: 7.953 kB / 0.8814 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.01004, allocations: 11.94 kB / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.01005, allocations: 0 / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.01005, allocations: 0 / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.01005, allocations: 0 / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.01024, allocations: 109.3 kB / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01024, allocations: 0 / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.01036, allocations: 27.97 kB / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01036, allocations: 0 / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01037, allocations: 0 / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.01038, allocations: 11.81 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01038, allocations: 0 / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.01083, allocations: 191.5 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.01085, allocations: 3.953 kB / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.01087, allocations: 8 kB / 0.8818 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.011, allocations: 15.91 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.01105, allocations: 4 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.01106, allocations: 0 / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.966e-05/0.01113, allocations: 91.27 kB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01113, allocations: 0 / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002296/0.01136, allocations: 4 kB / 0.8819 GB, free: 1.938 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.0001591/0.01151, allocations: 103.2 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.01191, allocations: 72.23 kB / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01191, allocations: 0 / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.01208, allocations: 35.95 kB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.01243, allocations: 10.19 kB / 0.8821 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.01288, allocations: 124.8 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.01297, allocations: 71.2 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.013, allocations: 7.984 kB / 0.8823 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.01304, allocations: 8.5 kB / 0.8823 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.01304, allocations: 4 kB / 0.8823 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of Templates: time 0.003817/0.01686, allocations: 0.8022 MB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.32279958203435]