Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001764, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 197.9 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.03 kB / 0.8127 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2904, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002226/0.2927, allocations: 0.7688 MB / 0.9505 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2938, allocations: 0.8625 MB / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.2938, allocations: 0 / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.2939, allocations: 3.938 kB / 0.9514 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.913e-05/0.294, allocations: 15.92 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.2943, allocations: 11.98 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.2945, allocations: 43.91 kB / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2946, allocations: 4 kB / 0.9515 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2948, allocations: 31.86 kB / 0.9515 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.2948, allocations: 15.92 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.2949, allocations: 4 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.2949, allocations: 4 kB / 0.9515 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.2949, allocations: 11.92 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.295, allocations: 15.94 kB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.2951, allocations: 35.92 kB / 0.9516 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2951, allocations: 3.938 kB / 0.9516 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.318e-06/0.2951, allocations: 0 / 0.9516 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.567e-06/0.2951, allocations: 0 / 0.9516 GB, free: 7.375 MB / 0.7325 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.0006871/0.2958, allocations: 367.6 kB / 0.9519 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.2959, allocations: 8.031 kB / 0.9519 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.2959, allocations: 4.938 kB / 0.9519 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2961, allocations: 172.2 kB / 0.9521 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2961, allocations: 8.312 kB / 0.9521 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2961, allocations: 384 / 0.9521 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.2964, allocations: 74.2 kB / 0.9522 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2964, allocations: 192 / 0.9522 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2965, allocations: 3.938 kB / 0.9522 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2965, allocations: 4 kB / 0.9522 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.2968, allocations: 63.88 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.2972, allocations: 265 kB / 0.9525 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.2974, allocations: 58.47 kB / 0.9526 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.2975, allocations: 32.92 kB / 0.9526 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.2976, allocations: 0 / 0.9526 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2976, allocations: 46.55 kB / 0.9526 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.2976, allocations: 0 / 0.9526 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005287/0.2981, allocations: 129.4 kB / 0.9528 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.2982, allocations: 51.41 kB / 0.9528 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.2983, allocations: 109.8 kB / 0.9529 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.2983, allocations: 29.7 kB / 0.9529 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.2984, allocations: 88.12 kB / 0.953 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.2984, allocations: 3.906 kB / 0.953 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.2984, allocations: 17.72 kB / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2986, allocations: 310.8 kB / 0.9533 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2987, allocations: 35.95 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.2989, allocations: 31.97 kB / 0.9534 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.2991, allocations: 76.72 kB / 0.9535 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2991, allocations: 3.938 kB / 0.9535 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003088/0.2994, allocations: 101.5 kB / 0.9536 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2995, allocations: 5.875 kB / 0.9536 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2995, allocations: 0 / 0.9536 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2995, allocations: 7.922 kB / 0.9536 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2997, allocations: 15.98 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2997, allocations: 0 / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.2997, allocations: 11.98 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2998, allocations: 4 kB / 0.9536 GB, free: 5.051 MB / 0.7325 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 7.711e-05/0.2998, allocations: 120.8 kB / 0.9537 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.2999, allocations: 336 / 0.9537 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.2999, allocations: 11.89 kB / 0.9538 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2999, allocations: 7.938 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2999, allocations: 3.984 kB / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2999, allocations: 0 / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3001, allocations: 181.4 kB / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3001, allocations: 0 / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.3002, allocations: 15.98 kB / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3003, allocations: 7.984 kB / 0.954 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.3003, allocations: 0 / 0.954 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3003, allocations: 0 / 0.954 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3003, allocations: 0 / 0.954 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.3006, allocations: 191.4 kB / 0.9541 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.3007, allocations: 85.05 kB / 0.9542 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3007, allocations: 4 kB / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3008, allocations: 11.97 kB / 0.9542 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.3009, allocations: 4 kB / 0.9542 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3009, allocations: 0 / 0.9542 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.3009, allocations: 91.27 kB / 0.9543 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3009, allocations: 0 / 0.9543 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002214/0.3012, allocations: 4 kB / 0.9543 GB, free: 4.23 MB / 0.7325 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.0001559/0.3013, allocations: 107.2 kB / 0.9544 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.3017, allocations: 67.92 kB / 0.9545 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3017, allocations: 0 / 0.9545 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.3018, allocations: 43.95 kB / 0.9545 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3022, allocations: 7.938 kB / 0.9546 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.3025, allocations: 163.2 kB / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.3028, allocations: 0.6883 MB / 0.9554 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.3028, allocations: 7.438 kB / 0.9554 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.3028, allocations: 4 kB / 0.9554 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of Templates: time 0.002298/0.3051, allocations: 0.7466 MB / 0.9561 GB, free: 2.34 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches