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.00194/0.00194, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.002525/0.002525, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.613/1.613, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.537/3.537, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002133/0.002133, allocations: 70.83 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4171, allocations: 176.1 MB / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002122/0.4192, allocations: 0.712 MB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.4204, allocations: 0.8981 MB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.4204, allocations: 4 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.4205, allocations: 3.938 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.4205, allocations: 3.938 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.4207, allocations: 23.92 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.4208, allocations: 47.84 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4209, allocations: 4 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.421, allocations: 23.92 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.4211, allocations: 23.89 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.4211, allocations: 8 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.4211, allocations: 4 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.4211, allocations: 4 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.4212, allocations: 23.86 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.4213, allocations: 39.81 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4213, allocations: 0 / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4213, allocations: 0 / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.4213, allocations: 0 / 1.323 GB, free: 0.8984 MB / 1.014 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.0006005/0.4219, allocations: 363.3 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4219, allocations: 11.98 kB / 1.323 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.4219, allocations: 4.938 kB / 1.323 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4221, allocations: 180.2 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.4221, allocations: 384 / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.4221, allocations: 4.375 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.4224, allocations: 70.16 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4224, allocations: 4.172 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4224, allocations: 7.938 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4224, allocations: 4 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.4227, allocations: 63.92 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.4232, allocations: 257 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.4234, allocations: 70.41 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.4236, allocations: 32.92 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.4236, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4236, allocations: 38.5 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.4236, allocations: 3.938 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000609/0.4242, allocations: 133.5 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.4243, allocations: 55.34 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.4244, allocations: 109.8 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.4244, allocations: 29.7 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.4245, allocations: 80.14 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.4245, allocations: 19.89 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.4245, allocations: 13.72 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4247, allocations: 314.8 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4249, allocations: 35.95 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.425, allocations: 27.97 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.4253, allocations: 72.78 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4253, allocations: 3.938 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003607/0.4257, allocations: 93.62 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4257, allocations: 7.938 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4257, allocations: 4 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4257, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.4258, allocations: 19.97 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4258, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.4259, allocations: 11.98 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4259, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 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 9.079e-05/0.426, allocations: 117.8 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.4261, allocations: 3.953 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.4261, allocations: 7.906 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4261, allocations: 4 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4261, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4261, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.4263, allocations: 177.5 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4263, allocations: 0 / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.4264, allocations: 15.98 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4264, allocations: 4 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.4264, allocations: 0 / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4264, allocations: 0 / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4264, allocations: 4.328 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.4268, allocations: 203.3 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.4269, allocations: 85.06 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.4269, allocations: 3.938 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.427, allocations: 11.98 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.4271, allocations: 11.98 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4271, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.4271, allocations: 87.27 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4271, allocations: 3.938 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002203/0.4273, allocations: 8 kB / 1.326 GB, free: 13.73 MB / 1.029 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.0001586/0.4275, allocations: 99.25 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.4279, allocations: 71.92 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4279, allocations: 3.938 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.428, allocations: 31.97 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4284, allocations: 11.92 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.4287, allocations: 125.5 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.429, allocations: 0.6768 MB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.429, allocations: 4 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.4291, allocations: 7.438 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4291, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Templates: time 0.003468/0.4325, allocations: 0.7358 MB / 1.328 GB, free: 11.91 MB / 1.029 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: 9.70325995190069]