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.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.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.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.473/2.473, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8838, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.002163/0.886, allocations: 0.7067 MB / 0.9503 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.8869, allocations: 0.8048 MB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.887, allocations: 1.375 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.887, allocations: 0 / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.8871, allocations: 7.875 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.461e-05/0.8872, allocations: 14.73 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.8872, allocations: 41.22 kB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.8874, allocations: 12.14 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.8875, allocations: 18.64 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.8875, allocations: 24.52 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.8875, allocations: 3.844 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.8876, allocations: 3.844 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.8876, allocations: 13.58 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.8876, allocations: 10.5 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.8e-05/0.8877, allocations: 35.62 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8877, allocations: 7.984 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8877, allocations: 0 / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8878, allocations: 0 / 0.9513 GB, free: 7.801 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.0005329/0.8883, allocations: 365.5 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.8883, allocations: 9.375 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.8884, allocations: 3.25 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.8885, allocations: 174.9 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.8885, allocations: 1.594 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.8885, allocations: 1.812 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.8888, allocations: 71.33 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.8888, allocations: 8.125 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.8888, allocations: 9.188 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8889, allocations: 0 / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.8892, allocations: 64.02 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.8895, allocations: 267.5 kB / 0.9522 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.8897, allocations: 59.95 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.8899, allocations: 40.03 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.8899, allocations: 3.984 kB / 0.9523 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.8899, allocations: 36.19 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.8899, allocations: 4 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005253/0.8905, allocations: 129.2 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.8905, allocations: 52.72 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.8906, allocations: 111.7 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.8906, allocations: 29.7 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.8906, allocations: 85.5 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.8907, allocations: 13.16 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.8907, allocations: 12.34 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.8908, allocations: 320.1 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.8909, allocations: 29.31 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.891, allocations: 34.06 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.8913, allocations: 67.25 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8913, allocations: 7.938 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002987/0.8916, allocations: 104.8 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8916, allocations: 6.219 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8916, allocations: 0 / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.8917, allocations: 0 / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.8918, allocations: 18.5 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8918, allocations: 1.375 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.8919, allocations: 10.11 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.8919, allocations: 1.219 kB / 0.9533 GB, free: 5.824 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 5.691e-05/0.892, allocations: 119.2 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.892, allocations: 2.812 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.892, allocations: 9.234 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.892, allocations: 0 / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.892, allocations: 0 / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.892, allocations: 1.531 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.8922, allocations: 168.7 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8922, allocations: 3.938 kB / 0.9536 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.8923, allocations: 14.95 kB / 0.9536 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8923, allocations: 4 kB / 0.9536 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.8923, allocations: 5.188 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8923, allocations: 3.984 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8923, allocations: 3.938 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.8927, allocations: 196.8 kB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.8927, allocations: 82.45 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.8927, allocations: 0 / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.8928, allocations: 10.64 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.8929, allocations: 10.58 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.8929, allocations: 1.375 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.8929, allocations: 85.36 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8929, allocations: 0 / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002099/0.8931, allocations: 10.62 kB / 0.954 GB, free: 5.098 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.0001524/0.8933, allocations: 101.9 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.8937, allocations: 74.48 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8937, allocations: 0 / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.8938, allocations: 32.75 kB / 0.9542 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.8942, allocations: 20.84 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.8946, allocations: 123.7 kB / 0.9544 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.8947, allocations: 0.6839 MB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.8947, allocations: 5 kB / 0.955 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.8948, allocations: 9.719 kB / 0.955 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of SimCode: time 8.61e-07/0.8948, allocations: 0 / 0.955 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of Templates: time 0.002956/0.8977, allocations: 0.6884 MB / 0.9557 GB, free: 3.754 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/jenkins/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