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.0009671/0.0009671, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002343, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009952/0.0009952, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.002053, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9999/0.9999, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1281/1.128, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.014/2.014, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5629/2.577, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.734e-06/1.734e-06, allocations: 0 / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.407e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001166/0.00118, allocations: 0.764 MB / 0.7305 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.001905, allocations: 0.9272 MB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.001933, allocations: 0 / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.001953, allocations: 0 / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.001991, allocations: 14.06 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.51e-05/0.002086, allocations: 23.86 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.199e-05/0.002168, allocations: 43.53 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.002248, allocations: 12.86 kB / 0.7314 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.002338, allocations: 30.48 kB / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.002387, allocations: 12.86 kB / 0.7315 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.002412, allocations: 4.766 kB / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.002421, allocations: 4 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.002437, allocations: 6.469 kB / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.002456, allocations: 10.94 kB / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.927e-05/0.002535, allocations: 26.27 kB / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.002547, allocations: 0 / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002547, allocations: 0 / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.00256, allocations: 1.297 kB / 0.7315 GB, free: 2.523 MB / 0.698 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.0003733/0.002934, allocations: 258.1 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.002965, allocations: 12.03 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.002994, allocations: 0.9375 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.424e-05/0.003088, allocations: 121.7 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.003098, allocations: 1.344 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.003109, allocations: 384 / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.003237, allocations: 72.08 kB / 0.732 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003245, allocations: 5.453 kB / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.003252, allocations: 384 / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.003258, allocations: 384 / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.003278, allocations: 7.938 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.003492, allocations: 154 kB / 0.7321 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.003546, allocations: 27.17 kB / 0.7322 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.003564, allocations: 12.92 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.003579, allocations: 1.25 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.0036, allocations: 34.64 kB / 0.7322 GB, free: 1.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.003601, allocations: 0 / 0.7322 GB, free: 1.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001074/0.003708, allocations: 49.56 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.003735, allocations: 52.94 kB / 0.7323 GB, free: 1.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.68e-05/0.003792, allocations: 115.8 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.003801, allocations: 25.7 kB / 0.7324 GB, free: 1.469 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.003832, allocations: 88.08 kB / 0.7325 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.003852, allocations: 16.73 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.003874, allocations: 9.719 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.003946, allocations: 322.8 kB / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.003956, allocations: 1.328 kB / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/0.003967, allocations: 4 kB / 0.7329 GB, free: 1.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.003996, allocations: 17.47 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.003999, allocations: 0.9062 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.46e-05/0.004043, allocations: 41.62 kB / 0.7329 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004054, allocations: 4.656 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.004058, allocations: 4.688 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.004072, allocations: 5.344 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.004143, allocations: 12 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.004147, allocations: 3.984 kB / 0.733 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.004168, allocations: 4.656 kB / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.004175, allocations: 1.312 kB / 0.733 GB, free: 0.9219 MB / 0.698 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 4.911e-05/0.004224, allocations: 111.2 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.004236, allocations: 4 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.004264, allocations: 7.984 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.004267, allocations: 5.531 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.004268, allocations: 4 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.004271, allocations: 0 / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.947e-05/0.00435, allocations: 73.88 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.004353, allocations: 4 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.004378, allocations: 8.781 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.004383, allocations: 5.625 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.004386, allocations: 3.984 kB / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.004389, allocations: 3.938 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.004391, allocations: 4 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.004392, allocations: 9.125 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.997e-05/0.004462, allocations: 131.5 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.004471, allocations: 4 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.004504, allocations: 5.25 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.004536, allocations: 7.984 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.004539, allocations: 3.938 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.471e-05/0.004554, allocations: 17.84 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004554, allocations: 0 / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001053/0.004659, allocations: 4 kB / 0.7334 GB, free: 476 kB / 0.698 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 7.309e-05/0.004732, allocations: 81.38 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.238e-05/0.004795, allocations: 24.78 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.004802, allocations: 4 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.004824, allocations: 13.59 kB / 0.7335 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.004995, allocations: 72.56 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.00533, allocations: 121.1 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.00536, allocations: 60.09 kB / 0.7337 GB, free: 32 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.005378, allocations: 0.75 kB / 0.7337 GB, free: 32 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.005441, allocations: 59.38 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/0.005442, allocations: 1.812 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of Templates: time 0.002068/0.00751, allocations: 0.7514 MB / 0.7345 GB, free: 15.26 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.070578626357019]