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.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.001782/0.001782, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002162/0.002162, allocations: 192.5 kB / 22.17 MB, free: 5.656 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.514/1.514, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.935/2.935, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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 0.002029/0.002029, allocations: 68.14 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8162, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001849/0.818, allocations: 0.7083 MB / 1.275 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.8191, allocations: 0.8702 MB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.8191, allocations: 4 kB / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.8191, allocations: 7.922 kB / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.8192, allocations: 3.938 kB / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.8194, allocations: 15.92 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.8195, allocations: 43.91 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.8196, allocations: 8 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.8196, allocations: 19.92 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.8197, allocations: 23.91 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.8197, allocations: 7.938 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.8197, allocations: 4 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.8197, allocations: 11.92 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.8197, allocations: 15.94 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.865e-05/0.8198, allocations: 46.42 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.8198, allocations: 3.984 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8198, allocations: 0 / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.8198, allocations: 0 / 1.276 GB, free: 2.773 MB / 0.9669 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.000522/0.8204, allocations: 363.3 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.8204, allocations: 8.031 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.8204, allocations: 8.891 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.8206, allocations: 176.3 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.8206, allocations: 384 / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.8206, allocations: 384 / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.8208, allocations: 74.2 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8208, allocations: 4.188 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8209, allocations: 3.938 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.8209, allocations: 0 / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.8212, allocations: 67.86 kB / 1.277 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.8215, allocations: 264.9 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.8217, allocations: 58.48 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.8219, allocations: 36.91 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.8219, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.8219, allocations: 38.5 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.8219, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005712/0.8225, allocations: 133.8 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.8225, allocations: 51.41 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.8226, allocations: 109.8 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.8226, allocations: 29.7 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.8227, allocations: 88.14 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.8227, allocations: 11.84 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.8228, allocations: 17.72 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8229, allocations: 314.8 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.823, allocations: 31.97 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.8232, allocations: 35.94 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.8235, allocations: 72.73 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8235, allocations: 3.938 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003386/0.8238, allocations: 97.61 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.8238, allocations: 9.406 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8238, allocations: 4 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.8238, allocations: 3.938 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.824, allocations: 15.98 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.824, allocations: 3.938 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/0.8241, allocations: 15.94 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.8241, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 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 8.633e-05/0.8242, allocations: 126.3 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.8242, allocations: 3.938 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.8242, allocations: 7.906 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.8242, allocations: 4 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.8242, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.8242, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.8244, allocations: 165.6 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8244, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.8245, allocations: 15.97 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8245, allocations: 4 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.8245, allocations: 8 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8245, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8245, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.8249, allocations: 191.4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.825, allocations: 81.09 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.825, allocations: 8 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.8251, allocations: 11.98 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.8251, allocations: 4 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.8251, allocations: 7.922 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.027e-05/0.8252, allocations: 87.28 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8252, allocations: 0 / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002165/0.8254, allocations: 4 kB / 1.279 GB, free: 15.62 MB / 0.9825 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.0001409/0.8255, allocations: 103.2 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.8259, allocations: 67.92 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8259, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.826, allocations: 35.95 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.8264, allocations: 15.94 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.8267, allocations: 145.3 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.827, allocations: 0.6807 MB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.827, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.827, allocations: 19.38 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.827, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.002949/0.83, allocations: 0.7435 MB / 1.28 GB, free: 13.77 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.015999541152269]