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.001587/0.001587, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00233/0.00233, allocations: 191.2 kB / 16.13 MB, free: 6.648 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.569/1.569, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.598/2.598, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.89 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9001/0.9014, allocations: 140.4 MB / 0.9489 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.002152/0.9036, allocations: 0.7609 MB / 0.9497 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009917/0.9046, allocations: 0.8006 MB / 0.9505 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.9047, allocations: 3.938 kB / 0.9505 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.9047, allocations: 1.062 kB / 0.9505 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.9048, allocations: 12.95 kB / 0.9505 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.989e-05/0.9049, allocations: 5.062 kB / 0.9505 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.905, allocations: 41.06 kB / 0.9505 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.9051, allocations: 8.188 kB / 0.9505 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.9052, allocations: 18.61 kB / 0.9506 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.9052, allocations: 24.28 kB / 0.9506 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.9053, allocations: 2.594 kB / 0.9506 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.9053, allocations: 2.594 kB / 0.9506 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.9053, allocations: 9.141 kB / 0.9506 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.9053, allocations: 15.81 kB / 0.9506 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.554e-05/0.9054, allocations: 30.06 kB / 0.9506 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9054, allocations: 7.922 kB / 0.9506 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9054, allocations: 0.75 kB / 0.9506 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.9054, allocations: 0 / 0.9506 GB, free: 8.039 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.0004933/0.9059, allocations: 370.7 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.906, allocations: 8.938 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.906, allocations: 2.438 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.727e-05/0.9061, allocations: 166.6 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.9062, allocations: 1.625 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.9062, allocations: 3 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.9064, allocations: 70.64 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.9065, allocations: 4.188 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.9065, allocations: 9.312 kB / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.9065, allocations: 0 / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.9068, allocations: 71.77 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.9071, allocations: 271.8 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.9073, allocations: 56.42 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.9075, allocations: 39.34 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.9075, allocations: 0 / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.9075, allocations: 31.62 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.9075, allocations: 7.938 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005212/0.9081, allocations: 130.1 kB / 0.9518 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.9081, allocations: 51.41 kB / 0.9519 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.9082, allocations: 111.7 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.9082, allocations: 35.11 kB / 0.952 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.9082, allocations: 85.25 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.9082, allocations: 13.28 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.9083, allocations: 11.97 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.9083, allocations: 316.2 kB / 0.9524 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.9085, allocations: 33.86 kB / 0.9525 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.9086, allocations: 38.17 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.9089, allocations: 71.06 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9089, allocations: 3.938 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002963/0.9092, allocations: 100.3 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9092, allocations: 5.906 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.9092, allocations: 0 / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9093, allocations: 1.719 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.9094, allocations: 17.06 kB / 0.9527 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9094, allocations: 1.188 kB / 0.9527 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.9095, allocations: 10.55 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.9095, allocations: 1.719 kB / 0.9527 GB, free: 6.062 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.795e-05/0.9096, allocations: 119.2 kB / 0.9528 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.9096, allocations: 1.25 kB / 0.9528 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.9096, allocations: 9.016 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9096, allocations: 1.969 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9096, allocations: 0 / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9096, allocations: 0 / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.9098, allocations: 173.6 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9098, allocations: 0 / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.9099, allocations: 14.61 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9099, allocations: 7.938 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.9099, allocations: 1.281 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9099, allocations: 3.984 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9099, allocations: 0 / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.9103, allocations: 195.9 kB / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.9103, allocations: 82.36 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.9103, allocations: 1 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.9104, allocations: 14.7 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.9105, allocations: 6.266 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.9105, allocations: 1.156 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.9105, allocations: 88.73 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9105, allocations: 1.062 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002248/0.9108, allocations: 9.438 kB / 0.9534 GB, free: 5.336 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.0001316/0.9109, allocations: 110.8 kB / 0.9535 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.9112, allocations: 66.7 kB / 0.9536 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.9112, allocations: 0 / 0.9536 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.9114, allocations: 32.78 kB / 0.9536 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.9117, allocations: 17.42 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.9121, allocations: 130.1 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.9122, allocations: 0.6846 MB / 0.9544 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.9122, allocations: 7.938 kB / 0.9544 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.9123, allocations: 13.02 kB / 0.9544 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.9123, allocations: 0 / 0.9544 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of Templates: time 0.002664/0.9149, allocations: 0.5498 MB / 0.955 GB, free: 4.055 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