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.0008962/0.0008961, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00765/0.007651, allocations: 171.7 kB / 16.27 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.616/2.616, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000522/0.0005221, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8613/0.8619, allocations: 142.4 MB / 0.9551 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.0009897/0.8629, allocations: 447.9 kB / 0.9555 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.8638, allocations: 0.8012 MB / 0.9563 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.8638, allocations: 0 / 0.9563 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.8638, allocations: 0.9375 kB / 0.9563 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.8639, allocations: 5.094 kB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.852e-05/0.864, allocations: 13.17 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.8641, allocations: 36.14 kB / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.8642, allocations: 13.84 kB / 0.9563 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.8643, allocations: 16.05 kB / 0.9563 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.8644, allocations: 17.17 kB / 0.9564 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.8644, allocations: 2.562 kB / 0.9564 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.8644, allocations: 1.781 kB / 0.9564 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.8644, allocations: 13.8 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.8645, allocations: 44.45 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.8646, allocations: 30.09 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8646, allocations: 0 / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8646, allocations: 1.375 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.8646, allocations: 0 / 0.9565 GB, free: 6.508 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.0004982/0.8651, allocations: 367.7 kB / 0.9568 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8651, allocations: 13.89 kB / 0.9568 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.8652, allocations: 7.062 kB / 0.9568 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.705e-05/0.8653, allocations: 166.9 kB / 0.957 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.8653, allocations: 5.375 kB / 0.957 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.8653, allocations: 1.781 kB / 0.957 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.8656, allocations: 81.44 kB / 0.9571 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8656, allocations: 4.125 kB / 0.9571 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.8656, allocations: 4.969 kB / 0.9571 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.8657, allocations: 4 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.866, allocations: 90.7 kB / 0.9572 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.8663, allocations: 263.5 kB / 0.9574 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.8666, allocations: 74.91 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.8667, allocations: 49.02 kB / 0.9575 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.8667, allocations: 0 / 0.9575 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.8668, allocations: 35.75 kB / 0.9576 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.8668, allocations: 0 / 0.9576 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005905/0.8674, allocations: 159.3 kB / 0.9577 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.8674, allocations: 52.44 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/0.8675, allocations: 107.8 kB / 0.9579 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.8675, allocations: 33.7 kB / 0.9579 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.8676, allocations: 86.52 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.8676, allocations: 16.92 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.8676, allocations: 14.95 kB / 0.958 GB, free: 5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.8677, allocations: 312.1 kB / 0.9583 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.8679, allocations: 46.34 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.868, allocations: 47.88 kB / 0.9584 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.8684, allocations: 90.59 kB / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8684, allocations: 3.938 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000345/0.8687, allocations: 120.5 kB / 0.9586 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8688, allocations: 9.906 kB / 0.9586 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8688, allocations: 0 / 0.9586 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.8688, allocations: 0 / 0.9586 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.869, allocations: 24.42 kB / 0.9586 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.869, allocations: 0 / 0.9586 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.8691, allocations: 20.05 kB / 0.9587 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.8691, allocations: 4 kB / 0.9587 GB, free: 4.516 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 6.653e-05/0.8691, allocations: 115.7 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.8692, allocations: 5.906 kB / 0.9588 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.8692, allocations: 9.844 kB / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8692, allocations: 0 / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8692, allocations: 0 / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.8692, allocations: 1.906 kB / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.8694, allocations: 169.1 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8694, allocations: 3.984 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.8695, allocations: 23.08 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.8695, allocations: 3.938 kB / 0.959 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.8695, allocations: 1.719 kB / 0.959 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8695, allocations: 0 / 0.959 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8695, allocations: 0 / 0.959 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.8699, allocations: 219.4 kB / 0.9592 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.8699, allocations: 86.22 kB / 0.9593 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.8699, allocations: 5.188 kB / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.87, allocations: 16.08 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.8701, allocations: 5.25 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.8701, allocations: 5.391 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.8701, allocations: 84.66 kB / 0.9594 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8701, allocations: 0 / 0.9594 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000208/0.8704, allocations: 7.688 kB / 0.9594 GB, free: 3.789 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.0001361/0.8705, allocations: 100.6 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004701/0.871, allocations: 91.33 kB / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.871, allocations: 0 / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.8712, allocations: 53.52 kB / 0.9596 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.8715, allocations: 11.88 kB / 0.9596 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.8718, allocations: 133.8 kB / 0.9598 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.872, allocations: 0.6837 MB / 0.9604 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.872, allocations: 9.359 kB / 0.9604 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.872, allocations: 12.75 kB / 0.9605 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.872, allocations: 0 / 0.9605 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of Templates: time 0.002684/0.8747, allocations: 0.5426 MB / 0.961 GB, free: 2.5 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