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.001471/0.001471, allocations: 106.1 kB / 16.41 MB, free: 6.508 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.001627/0.001627, allocations: 187 kB / 17.34 MB, free: 5.742 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 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.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.88 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.8534, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001858/0.8553, allocations: 0.6955 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.8562, allocations: 0.7986 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.8562, allocations: 7.938 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.8563, allocations: 3.938 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.8563, allocations: 6.609 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.862e-05/0.8564, allocations: 13.81 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.8565, allocations: 38.64 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.8566, allocations: 10.98 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.8567, allocations: 21.34 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.8567, allocations: 22.98 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.8567, allocations: 8.094 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.8567, allocations: 2.75 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.8568, allocations: 6.906 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.8568, allocations: 21.19 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.8569, allocations: 39.62 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8569, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8569, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.8569, allocations: 1.312 kB / 1.09 GB, free: 4.355 MB / 0.8575 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.0004715/0.8574, allocations: 372.7 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.8574, allocations: 9.625 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.8575, allocations: 6.484 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.136e-05/0.8576, allocations: 166.5 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.8576, allocations: 2.016 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.8576, allocations: 2.375 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.8578, allocations: 67.45 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.8579, allocations: 5.75 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8579, allocations: 7.938 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.8579, allocations: 1.125 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.8582, allocations: 62.7 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.8585, allocations: 269.6 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.8587, allocations: 64.06 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.8589, allocations: 44.83 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.8589, allocations: 0 / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.859, allocations: 32.36 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.859, allocations: 0 / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005329/0.8595, allocations: 132.6 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.8595, allocations: 51.92 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.8596, allocations: 107.2 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.8596, allocations: 30.83 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.8596, allocations: 91.2 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.8597, allocations: 18.14 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.8597, allocations: 12.69 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.8598, allocations: 318.5 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.8599, allocations: 35.05 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.8601, allocations: 27.33 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.8603, allocations: 69.59 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8603, allocations: 3.938 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.8606, allocations: 99 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.8607, allocations: 8.344 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8607, allocations: 1.953 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8607, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.8608, allocations: 14.86 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.8608, allocations: 1.922 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.8609, allocations: 14.88 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.8609, allocations: 1.188 kB / 1.092 GB, free: 2.57 MB / 0.8575 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.896e-05/0.861, allocations: 116.2 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.861, allocations: 10.41 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.861, allocations: 5.688 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.8611, allocations: 0.8125 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8611, allocations: 1.641 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8611, allocations: 3.938 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.8612, allocations: 170.3 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8612, allocations: 1.391 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.8613, allocations: 14.67 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8613, allocations: 1.453 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.8613, allocations: 4 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8613, allocations: 0.8438 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.8613, allocations: 4.5 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.8617, allocations: 197.6 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.8617, allocations: 83.84 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.8617, allocations: 4.609 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.8618, allocations: 11.97 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.8619, allocations: 7.312 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.8619, allocations: 4.75 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.8619, allocations: 84.47 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8619, allocations: 0 / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002178/0.8622, allocations: 10.53 kB / 1.093 GB, free: 1.887 MB / 0.8575 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.00012/0.8623, allocations: 103.4 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.8627, allocations: 67.39 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8627, allocations: 0.9688 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.8628, allocations: 38.3 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.8632, allocations: 15.02 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.8634, allocations: 147.1 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.77e-05/0.8635, allocations: 0.6799 MB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.8636, allocations: 9.938 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8636, allocations: 0 / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of Templates: time 0.002308/0.8659, allocations: 0.754 MB / 1.095 GB, free: 0.8789 MB / 0.8575 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