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.0009581/0.0009581, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001119/0.001119, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9869/0.9869, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 2.449/2.449, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.974e-06/1.974e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.396e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.004575/0.004599, allocations: 0.7248 MB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.005649, allocations: 0.9092 MB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.005686, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.005714, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.005788, allocations: 11.88 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.005942, allocations: 23.91 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.006021, allocations: 43.84 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.557e-05/0.006096, allocations: 11.94 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.061e-05/0.006187, allocations: 23.92 kB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.006229, allocations: 19.97 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.006251, allocations: 4 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.00626, allocations: 4 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.006279, allocations: 7.984 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.006301, allocations: 15.92 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.065e-05/0.006392, allocations: 27.97 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.006394, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006395, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.006398, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.8073 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.0003299/0.006728, allocations: 252.9 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.006766, allocations: 12.62 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.006795, allocations: 4.938 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.006878, allocations: 113.7 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.006887, allocations: 4.312 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.0069, allocations: 8.312 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.007026, allocations: 66.92 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.007033, allocations: 192 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.00704, allocations: 384 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.007046, allocations: 384 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.007072, allocations: 7.938 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.007296, allocations: 160.3 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.732e-05/0.007353, allocations: 22.52 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.007372, allocations: 8.859 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.007385, allocations: 0 / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.007407, allocations: 38.64 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.007408, allocations: 0 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001253/0.007533, allocations: 49.69 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.007564, allocations: 55.34 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.007632, allocations: 118.7 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.007642, allocations: 25.7 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.007673, allocations: 92.12 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.007694, allocations: 11.84 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.007724, allocations: 17.72 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.007802, allocations: 318.8 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.007816, allocations: 4 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.007827, allocations: 192 / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.00786, allocations: 20.92 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007862, allocations: 4 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.064e-05/0.007923, allocations: 41.62 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.007936, allocations: 8 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.00794, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.007953, allocations: 7.938 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.008027, allocations: 8 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.00803, allocations: 3.984 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.008057, allocations: 4 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.008063, allocations: 0 / 0.8419 GB, free: 10.7 MB / 0.8073 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 5.338e-05/0.008116, allocations: 109.8 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.008138, allocations: 4 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.008163, allocations: 15.92 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.008165, allocations: 3.938 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.008167, allocations: 4 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.00817, allocations: 0 / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.008285, allocations: 73.88 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008286, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.008323, allocations: 8 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008324, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.008329, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.008329, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00833, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.008424, allocations: 147.4 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.008431, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.00844, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.432e-05/0.008494, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.008529, allocations: 7.984 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.008535, allocations: 3.938 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.704e-05/0.008553, allocations: 16.84 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008553, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000173/0.008726, allocations: 7.953 kB / 0.8423 GB, free: 10.25 MB / 0.8073 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 8.055e-05/0.008806, allocations: 76.42 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.933e-05/0.008865, allocations: 20.78 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.008868, allocations: 4 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.008885, allocations: 12.86 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.009022, allocations: 8 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.009243, allocations: 128.5 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.009273, allocations: 59.3 kB / 0.8425 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.507e-05/0.009288, allocations: 0 / 0.8425 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.009336, allocations: 63.36 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.009337, allocations: 0 / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.002236/0.01157, allocations: 0.746 MB / 0.8433 GB, free: 9.086 MB / 0.8073 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.426178507041186]