Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00455/0.00455, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.00115/0.00115, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.3 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6811, allocations: 140.3 MB / 0.9496 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.002005/0.6831, allocations: 0.7706 MB / 0.9504 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008193/0.6839, allocations: 0.8052 MB / 0.9511 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.684, allocations: 0 / 0.9511 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.684, allocations: 4 kB / 0.9511 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.98e-05/0.6841, allocations: 5.312 kB / 0.9511 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.774e-05/0.6842, allocations: 9.359 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.345e-05/0.6843, allocations: 40.36 kB / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.6845, allocations: 13.48 kB / 0.9512 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.6845, allocations: 9.5 kB / 0.9512 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.6846, allocations: 25.39 kB / 0.9512 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.6846, allocations: 6.688 kB / 0.9512 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.6846, allocations: 9.312 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.6847, allocations: 9.312 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.6847, allocations: 16.05 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.532e-05/0.6848, allocations: 25.44 kB / 0.9513 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6848, allocations: 0 / 0.9513 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6848, allocations: 0 / 0.9513 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6848, allocations: 0 / 0.9513 GB, free: 7.68 MB / 0.7169 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.0004851/0.6853, allocations: 366 kB / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6854, allocations: 13.62 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.6854, allocations: 6.25 kB / 0.9517 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.6855, allocations: 171 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.6855, allocations: 1.75 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.6855, allocations: 1.75 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.6858, allocations: 68.22 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.6858, allocations: 192 / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.6858, allocations: 3.938 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6858, allocations: 5.375 kB / 0.9519 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.6861, allocations: 66.86 kB / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.6864, allocations: 263.9 kB / 0.9522 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.6867, allocations: 56.14 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.6868, allocations: 43.84 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.6869, allocations: 0 / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.6869, allocations: 35.53 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.6869, allocations: 0 / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005591/0.6875, allocations: 130.1 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.6875, allocations: 55.39 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.6876, allocations: 112 kB / 0.9526 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.6876, allocations: 25.7 kB / 0.9527 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.6876, allocations: 90.58 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.6877, allocations: 9.156 kB / 0.9528 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.6877, allocations: 16.22 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.6877, allocations: 316.2 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.6879, allocations: 28.72 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.688, allocations: 34.14 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.6883, allocations: 71.77 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6883, allocations: 3.938 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003077/0.6886, allocations: 97.31 kB / 0.9533 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6886, allocations: 9.484 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6886, allocations: 8 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6887, allocations: 0 / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.6888, allocations: 14.86 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6888, allocations: 3.938 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.6889, allocations: 15.72 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.6889, allocations: 0 / 0.9534 GB, free: 5.711 MB / 0.7169 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.195e-05/0.689, allocations: 112.3 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.689, allocations: 9.375 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.689, allocations: 21.09 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.689, allocations: 1.25 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6891, allocations: 0 / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.6891, allocations: 1.125 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.6892, allocations: 169.1 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6892, allocations: 0 / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.533e-05/0.6893, allocations: 18.62 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6893, allocations: 0 / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.6893, allocations: 1.188 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6893, allocations: 4 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6893, allocations: 0 / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.6897, allocations: 196.3 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.6897, allocations: 78.55 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.6897, allocations: 1 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.6898, allocations: 19.12 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.6899, allocations: 1.281 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.6899, allocations: 1.281 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.6899, allocations: 93.33 kB / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6899, allocations: 0 / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.6902, allocations: 6.188 kB / 0.9541 GB, free: 4.984 MB / 0.7169 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.0001358/0.6903, allocations: 98.75 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.6906, allocations: 69.86 kB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6906, allocations: 0 / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.6908, allocations: 41.33 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.6911, allocations: 7.938 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.6914, allocations: 167.8 kB / 0.9544 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.6915, allocations: 0.6836 MB / 0.9551 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.6916, allocations: 9.062 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6916, allocations: 0 / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.002159/0.6937, allocations: 0.734 MB / 0.9558 GB, free: 3.594 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches