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.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.001718/0.001718, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002151/0.002151, allocations: 214.1 kB / 22.25 MB, free: 4.855 MB / 14.72 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.789/1.789, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.05/3.05, allocations: 476 MB / 0.7699 GB, free: 4.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 64.36 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4069, allocations: 169.9 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002096/0.409, allocations: 0.7003 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.4102, allocations: 0.8939 MB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.4102, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.4102, allocations: 3.938 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.4103, allocations: 11.94 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.4105, allocations: 15.92 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.4106, allocations: 43.91 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.4107, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.4107, allocations: 23.92 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.4108, allocations: 19.91 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4108, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.4108, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.4108, allocations: 7.984 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.4109, allocations: 19.88 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.907e-05/0.411, allocations: 43.8 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.411, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.411, allocations: 4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.411, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 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.0005755/0.4116, allocations: 286.2 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4116, allocations: 8.031 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.4116, allocations: 8.891 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.4118, allocations: 110.4 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4118, allocations: 8.375 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.4118, allocations: 384 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.4121, allocations: 78.2 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4121, allocations: 192 / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4121, allocations: 3.938 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.4121, allocations: 3.984 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.4124, allocations: 67.92 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.4128, allocations: 208.6 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.413, allocations: 58.53 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.4132, allocations: 36.86 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.4132, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4132, allocations: 34.56 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.4132, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005894/0.4138, allocations: 141.4 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4139, allocations: 51.41 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.414, allocations: 117.8 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.414, allocations: 29.64 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.414, allocations: 80.14 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.4141, allocations: 15.95 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.4141, allocations: 13.7 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4142, allocations: 318.8 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4144, allocations: 27.97 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4145, allocations: 31.95 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.4148, allocations: 76.72 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4148, allocations: 0 / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003972/0.4152, allocations: 101.5 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4152, allocations: 8 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.4152, allocations: 0 / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4152, allocations: 0 / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.4154, allocations: 15.98 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4154, allocations: 4 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.4155, allocations: 11.97 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.4155, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 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.428e-05/0.4156, allocations: 109.8 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.4156, allocations: 7.938 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.4156, allocations: 4 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4156, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4156, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4156, allocations: 4 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.4158, allocations: 121.2 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4158, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4159, allocations: 27.84 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4159, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.416, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.416, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.416, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.4163, allocations: 191.8 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.4164, allocations: 19.97 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4164, allocations: 3.984 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.4165, allocations: 11.98 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.4165, allocations: 7.984 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4165, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.4166, allocations: 91.22 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4166, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000224/0.4168, allocations: 7.953 kB / 1.287 GB, free: 7.332 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.0001336/0.417, allocations: 107.1 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.4173, allocations: 67.91 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4173, allocations: 0 / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4175, allocations: 39.97 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4178, allocations: 10.34 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.4181, allocations: 120.7 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.4181, allocations: 63.34 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.4182, allocations: 7.938 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.4182, allocations: 7.438 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4182, allocations: 0 / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of Templates: time 0.003361/0.4216, allocations: 0.7901 MB / 1.288 GB, free: 6.09 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.130825936794281]