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.0008356/0.0008356, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008161/0.0008161, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8858/0.8858, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.756/1.756, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.505e-06/2.505e-06, allocations: 0 / 0.9823 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.109e-05, allocations: 6.219 kB / 0.9823 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001337/0.001368, allocations: 0.6911 MB / 0.9829 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.002199, allocations: 0.8977 MB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.002234, allocations: 0 / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.002262, allocations: 3.938 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.281e-05/0.002324, allocations: 7.938 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.002489, allocations: 15.98 kB / 0.9838 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.002571, allocations: 43.84 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.00267, allocations: 8 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.002746, allocations: 27.91 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.002786, allocations: 15.97 kB / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.002811, allocations: 4 kB / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.00282, allocations: 8 kB / 0.9839 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.002838, allocations: 7.938 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.00286, allocations: 11.98 kB / 0.984 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.857e-05/0.002948, allocations: 51.73 kB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.002951, allocations: 0 / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002952, allocations: 0 / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.002955, allocations: 4 kB / 0.984 GB, free: 196 kB / 0.9323 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.0003925/0.003348, allocations: 290.2 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.003383, allocations: 8.031 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.003413, allocations: 8.891 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.2e-05/0.003495, allocations: 105.8 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.003507, allocations: 8.312 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.003517, allocations: 384 / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.003682, allocations: 70.2 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.00369, allocations: 192 / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.003699, allocations: 4.375 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003704, allocations: 384 / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.003849, allocations: 75.8 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.004131, allocations: 208.5 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.00425, allocations: 54.53 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.004325, allocations: 40.91 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.004345, allocations: 4 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.004366, allocations: 38.5 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.004367, allocations: 0 / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003219/0.004689, allocations: 125.5 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.004721, allocations: 51.41 kB / 0.9851 GB, free: 14.99 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.004788, allocations: 109.8 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.004802, allocations: 33.7 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.004837, allocations: 84.12 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.004858, allocations: 11.91 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.004887, allocations: 17.72 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.00512, allocations: 322.8 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.005198, allocations: 27.97 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.608e-05/0.005264, allocations: 27.97 kB / 0.9857 GB, free: 14.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.005402, allocations: 76.72 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005404, allocations: 0 / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001722/0.005576, allocations: 93.62 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.005592, allocations: 11.92 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.005598, allocations: 4 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.005611, allocations: 7.938 kB / 0.9859 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.005694, allocations: 11.98 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.0057, allocations: 0 / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.005736, allocations: 11.98 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.005744, allocations: 0 / 0.9859 GB, free: 14.11 MB / 0.948 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 5.845e-05/0.005802, allocations: 113.8 kB / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.005815, allocations: 7.891 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.005842, allocations: 19.92 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005844, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.005848, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.00585, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.529e-05/0.005946, allocations: 113.3 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.005948, allocations: 4 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.005991, allocations: 16.31 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005993, allocations: 3.938 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.006, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.006002, allocations: 3.938 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.006003, allocations: 4 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.006204, allocations: 199.4 kB / 0.9863 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.006211, allocations: 0 / 0.9863 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.006223, allocations: 0 / 0.9863 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.006276, allocations: 19.92 kB / 0.9864 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.006316, allocations: 3.984 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.00632, allocations: 7.938 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.006353, allocations: 95.25 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006353, allocations: 0 / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001504/0.006504, allocations: 8 kB / 0.9865 GB, free: 13.45 MB / 0.948 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.0001048/0.006609, allocations: 99.72 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.006802, allocations: 63.92 kB / 0.9866 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006804, allocations: 0 / 0.9866 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.006875, allocations: 39.95 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.007118, allocations: 10.81 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.007408, allocations: 146.4 kB / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.00746, allocations: 71.22 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.007492, allocations: 8.5 kB / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.007492, allocations: 0 / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of Templates: time 0.001596/0.009089, allocations: 0.7719 MB / 0.9876 GB, free: 12.18 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] 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: 6.537534914910793]