Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002648/0.002648, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.00223/0.00223, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.056/3.056, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8109 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.063e-05, allocations: 6.25 kB / 0.8109 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001808/0.001839, allocations: 0.7042 MB / 0.8116 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003064, allocations: 0.8879 MB / 0.8124 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.003101, allocations: 4 kB / 0.8124 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.003131, allocations: 7.922 kB / 0.8124 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.003202, allocations: 7.875 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.00336, allocations: 15.98 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.003453, allocations: 45.19 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.00355, allocations: 11.98 kB / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.003652, allocations: 19.98 kB / 0.8125 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.003699, allocations: 21.56 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.003718, allocations: 0 / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-06/0.003727, allocations: 4 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.003746, allocations: 11.94 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.003774, allocations: 8 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.003879, allocations: 56.44 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.003881, allocations: 0 / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003882, allocations: 0.5312 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003886, allocations: 1.562 kB / 0.8126 GB, free: 208 kB / 0.7605 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.000823/0.004709, allocations: 372.2 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.004746, allocations: 8.031 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.004798, allocations: 17.42 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.004923, allocations: 112.6 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.004935, allocations: 1.688 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.00495, allocations: 8.359 kB / 0.8131 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.005137, allocations: 58.23 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.005148, allocations: 5.328 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.005157, allocations: 384 / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005161, allocations: 384 / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.005343, allocations: 49.22 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.005746, allocations: 263.8 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.005917, allocations: 60.58 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.006019, allocations: 27.77 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.006042, allocations: 2.031 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.006078, allocations: 37.33 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.006079, allocations: 4 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004115/0.006491, allocations: 99.89 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.006538, allocations: 51.41 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.006682, allocations: 173.9 kB / 0.8139 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.006706, allocations: 29.7 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.006791, allocations: 134.8 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.006815, allocations: 19.86 kB / 0.8141 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.006862, allocations: 19.38 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002713/0.007133, allocations: 0.4889 MB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.007227, allocations: 20.52 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.007307, allocations: 21.92 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.007487, allocations: 47.59 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007489, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002265/0.007716, allocations: 83.73 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.007731, allocations: 7.938 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.007735, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.00775, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.007851, allocations: 16.52 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.007856, allocations: 0.9688 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.007903, allocations: 4 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.007913, allocations: 4 kB / 0.8148 GB, free: 13.8 MB / 0.7761 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.0001197/0.008033, allocations: 161.2 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.008059, allocations: 5.062 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.008096, allocations: 11.94 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008098, allocations: 0 / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.008103, allocations: 0.8438 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008106, allocations: 0 / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.008283, allocations: 134.1 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008284, allocations: 0 / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.008364, allocations: 11.98 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008366, allocations: 336 / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.008376, allocations: 5.031 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.00838, allocations: 3.938 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008381, allocations: 0 / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.008696, allocations: 228.8 kB / 0.8153 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.008706, allocations: 5.125 kB / 0.8153 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.008718, allocations: 0 / 0.8153 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.008799, allocations: 7.938 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.008844, allocations: 17.02 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.008848, allocations: 0 / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.864e-05/0.008936, allocations: 135.2 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008936, allocations: 1.062 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001995/0.009136, allocations: 7.938 kB / 0.8155 GB, free: 13.02 MB / 0.7761 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.0001299/0.009266, allocations: 96.22 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.00951, allocations: 53.31 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009512, allocations: 0 / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.009622, allocations: 35.66 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.009858, allocations: 17.81 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.01017, allocations: 130.1 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.868e-05/0.01025, allocations: 67.83 kB / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.01028, allocations: 4.656 kB / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.01031, allocations: 13.16 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01031, allocations: 0 / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.003456/0.01377, allocations: 0.7912 MB / 0.8167 GB, free: 11.79 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.303048132918775]