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.002443/0.002443, allocations: 85.48 kB / 19.44 MB, free: 336 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.003145/0.003145, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.623/1.623, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.351/3.351, allocations: 429.5 MB / 0.6729 GB, free: 4.004 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.224e-06/2.224e-06, allocations: 0 / 0.8775 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.923e-05, allocations: 3.062 kB / 0.8775 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001966/0.001996, allocations: 0.7083 MB / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.003366, allocations: 0.8895 MB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.003408, allocations: 0 / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.003435, allocations: 3.938 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.003529, allocations: 11.16 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.003708, allocations: 19.92 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.003813, allocations: 47.84 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003914, allocations: 7.984 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.004016, allocations: 23.97 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.004071, allocations: 15.92 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.004096, allocations: 5.969 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.004109, allocations: 4 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.004129, allocations: 4 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.004174, allocations: 15.92 kB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.00429, allocations: 43.86 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004293, allocations: 0.7188 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5e-07/0.004293, allocations: 4 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.004298, allocations: 1.656 kB / 0.8793 GB, free: 4.762 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.0006302/0.004928, allocations: 380.2 kB / 0.8796 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.004972, allocations: 8.031 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.005021, allocations: 5.438 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.005169, allocations: 124.4 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.005185, allocations: 6.219 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.005194, allocations: 384 / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.005392, allocations: 58.23 kB / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.005402, allocations: 192 / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.005416, allocations: 4.875 kB / 0.8798 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.00542, allocations: 384 / 0.8798 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.005596, allocations: 44.94 kB / 0.8799 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.006026, allocations: 265.5 kB / 0.8801 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.006202, allocations: 51.08 kB / 0.8802 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.006313, allocations: 43.59 kB / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.006339, allocations: 0 / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.006372, allocations: 33.39 kB / 0.8803 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 6.82e-07/0.006373, allocations: 0 / 0.8803 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004153/0.006788, allocations: 105.5 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.006833, allocations: 51.41 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.006984, allocations: 173.9 kB / 0.8806 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.007004, allocations: 25.7 kB / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.007103, allocations: 138.9 kB / 0.8807 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.007126, allocations: 11.91 kB / 0.8807 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.007175, allocations: 23.38 kB / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005299/0.007705, allocations: 0.4884 MB / 0.8812 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.007796, allocations: 15.98 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.007874, allocations: 19.98 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.008047, allocations: 51.94 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008049, allocations: 0 / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002221/0.008271, allocations: 81.59 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.008292, allocations: 11.94 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.008297, allocations: 0 / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.008313, allocations: 4 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.008409, allocations: 11.98 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008415, allocations: 320 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.008465, allocations: 7.984 kB / 0.8814 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.008473, allocations: 0 / 0.8814 GB, free: 2.348 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.0001263/0.008599, allocations: 160.6 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.008625, allocations: 7.953 kB / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.008663, allocations: 15.94 kB / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008664, allocations: 0 / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.008668, allocations: 0 / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.008671, allocations: 0 / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.008856, allocations: 128.5 kB / 0.8817 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.008857, allocations: 0 / 0.8817 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.008937, allocations: 11.98 kB / 0.8817 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008938, allocations: 0 / 0.8817 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008947, allocations: 4 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.008953, allocations: 7.922 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008953, allocations: 7.938 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.009295, allocations: 227.8 kB / 0.882 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.009304, allocations: 3.953 kB / 0.882 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.009319, allocations: 4 kB / 0.882 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.0094, allocations: 11.92 kB / 0.882 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.009445, allocations: 0 / 0.882 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.009449, allocations: 0 / 0.882 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.477e-05/0.009534, allocations: 135.2 kB / 0.8821 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009534, allocations: 0 / 0.8821 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000214/0.009748, allocations: 16 kB / 0.8821 GB, free: 1.555 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.0001565/0.009904, allocations: 91.25 kB / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.01016, allocations: 59.58 kB / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01016, allocations: 0 / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01027, allocations: 35.67 kB / 0.8823 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01054, allocations: 4.516 kB / 0.8823 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.0109, allocations: 138.3 kB / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.01098, allocations: 67.2 kB / 0.8825 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.01101, allocations: 0 / 0.8825 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.01105, allocations: 12.5 kB / 0.8825 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.01105, allocations: 0 / 0.8825 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of Templates: time 0.003857/0.01491, allocations: 0.8117 MB / 0.8833 GB, free: 300 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] 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.572209426900372]