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.001894/0.001894, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001775/0.001775, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.022/3.022, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.585e-06/2.585e-06, allocations: 0 / 1 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.219e-05, allocations: 5.094 kB / 1 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001865/0.001898, allocations: 0.6931 MB / 1.001 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003177, allocations: 0.8899 MB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.003223, allocations: 4 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.003254, allocations: 3.938 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.909e-05/0.003323, allocations: 11.88 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.003495, allocations: 11.98 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.003606, allocations: 47.84 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.003716, allocations: 7.984 kB / 1.002 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.003816, allocations: 27.97 kB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.003874, allocations: 15.92 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.003896, allocations: 8 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.003908, allocations: 7.938 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.003929, allocations: 8 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.00396, allocations: 11.92 kB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.004064, allocations: 47.86 kB / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004066, allocations: 0 / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004067, allocations: 0 / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004071, allocations: 0 / 1.002 GB, free: 5.402 MB / 0.9512 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.0005735/0.004645, allocations: 282.2 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.004683, allocations: 12.03 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.004724, allocations: 8.891 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004849, allocations: 113.7 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.004867, allocations: 4.375 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.00488, allocations: 4.359 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.005161, allocations: 78.14 kB / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.005171, allocations: 192 / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.005181, allocations: 384 / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.005186, allocations: 384 / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.005494, allocations: 71.81 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.005864, allocations: 204.6 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.006083, allocations: 50.55 kB / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.006251, allocations: 40.91 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.006268, allocations: 4 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.006306, allocations: 42.5 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.006307, allocations: 0 / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006148/0.006922, allocations: 137.4 kB / 1.003 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.006973, allocations: 51.41 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.007082, allocations: 113.8 kB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.007102, allocations: 25.7 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.007159, allocations: 84.14 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.007181, allocations: 7.953 kB / 1.003 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.007221, allocations: 13.72 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.007383, allocations: 318.8 kB / 1.004 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.00754, allocations: 27.97 kB / 1.004 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.00769, allocations: 39.89 kB / 1.004 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.007988, allocations: 64.8 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.00799, allocations: 0 / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003596/0.00835, allocations: 101.6 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.008369, allocations: 11.94 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.008373, allocations: 4 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.008388, allocations: 0 / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.008522, allocations: 15.98 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.008528, allocations: 0 / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.008611, allocations: 7.984 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.008624, allocations: 8 kB / 1.004 GB, free: 3.316 MB / 0.9512 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.89e-05/0.008723, allocations: 117.8 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.008751, allocations: 4 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.008785, allocations: 15.94 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.008788, allocations: 0 / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.008792, allocations: 0 / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.008794, allocations: 3.938 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.008944, allocations: 117.2 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008945, allocations: 336 / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.009049, allocations: 15.98 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009051, allocations: 0 / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.009063, allocations: 3.984 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.009066, allocations: 3.938 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009067, allocations: 4 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.009489, allocations: 199.4 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-06/0.009496, allocations: 0 / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.009513, allocations: 4 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.009631, allocations: 15.91 kB / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.009681, allocations: 7.938 kB / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.009685, allocations: 0 / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.116e-05/0.009756, allocations: 95.27 kB / 1.004 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.009756, allocations: 0 / 1.004 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002266/0.009983, allocations: 4 kB / 1.004 GB, free: 2.656 MB / 0.9512 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.0001544/0.01014, allocations: 107.2 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.01052, allocations: 67.92 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01053, allocations: 0 / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.01069, allocations: 39.95 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.01101, allocations: 7.938 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.0114, allocations: 132.7 kB / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.883e-05/0.01148, allocations: 67.33 kB / 1.005 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.01151, allocations: 4 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.01155, allocations: 12.5 kB / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.01155, allocations: 0 / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of Templates: time 0.003683/0.01523, allocations: 0.7749 MB / 1.006 GB, free: 1.406 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 800] 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.40150522440672]