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.01035/0.01035, allocations: 102 kB / 15.73 MB, free: 6.055 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.002381/0.002381, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.668/1.668, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.47/2.47, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001867, allocations: 59.91 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249/1.251, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.00208/1.253, allocations: 0.7015 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001055/1.254, allocations: 0.8017 MB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/1.254, allocations: 0 / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/1.254, allocations: 4.453 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.378e-05/1.254, allocations: 10.97 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.75e-05/1.254, allocations: 13.78 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/1.254, allocations: 38.41 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/1.255, allocations: 14.98 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/1.255, allocations: 17.91 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.239e-05/1.255, allocations: 22.44 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/1.255, allocations: 3.094 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/1.255, allocations: 8.031 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/1.255, allocations: 7.688 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/1.255, allocations: 20.61 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/1.255, allocations: 39.45 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.255, allocations: 0 / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.215e-06/1.255, allocations: 0 / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.255, allocations: 1.031 kB / 1.09 GB, free: 4.379 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.000574/1.256, allocations: 364.9 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.256, allocations: 9.75 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/1.256, allocations: 6.953 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.256, allocations: 178 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/1.256, allocations: 1.438 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/1.256, allocations: 2.469 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/1.256, allocations: 67.98 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/1.256, allocations: 1.812 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/1.256, allocations: 3.938 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.256, allocations: 5.062 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/1.257, allocations: 66.06 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/1.257, allocations: 266.8 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/1.257, allocations: 63.27 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/1.257, allocations: 40.53 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/1.257, allocations: 0.7188 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.257, allocations: 36.12 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.257, allocations: 0 / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005693/1.258, allocations: 128.3 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.258, allocations: 53.2 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/1.258, allocations: 110.8 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/1.258, allocations: 30.98 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/1.258, allocations: 82.94 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/1.258, allocations: 18.02 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/1.258, allocations: 12.41 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.258, allocations: 322.4 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/1.258, allocations: 30.3 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/1.259, allocations: 31.14 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/1.259, allocations: 70.75 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.259, allocations: 3.938 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003129/1.259, allocations: 99.28 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.259, allocations: 4.875 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/1.259, allocations: 0 / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.259, allocations: 5.156 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/1.259, allocations: 19.89 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.259, allocations: 0.5156 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/1.26, allocations: 11.3 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/1.26, allocations: 1.359 kB / 1.092 GB, free: 2.598 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 7.495e-05/1.26, allocations: 120.4 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/1.26, allocations: 5.562 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/1.26, allocations: 6.391 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.26, allocations: 1.578 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.26, allocations: 4 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.26, allocations: 0.75 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/1.26, allocations: 174.9 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.26, allocations: 0 / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/1.26, allocations: 19.31 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.26, allocations: 1.609 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.26, allocations: 0 / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.26, allocations: 5.781 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.26, allocations: 0 / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/1.26, allocations: 197 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/1.26, allocations: 83.11 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/1.26, allocations: 2.484 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/1.261, allocations: 14.48 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/1.261, allocations: 8.062 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.261, allocations: 4.844 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.589e-05/1.261, allocations: 84.05 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.261, allocations: 0 / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002103/1.261, allocations: 10.62 kB / 1.092 GB, free: 1.91 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.0001636/1.261, allocations: 99.89 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003567/1.261, allocations: 70.27 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.261, allocations: 0.8125 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/1.262, allocations: 38 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/1.262, allocations: 15.05 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/1.262, allocations: 122.6 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/1.262, allocations: 0.6838 MB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.03e-05/1.262, allocations: 2.297 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/1.262, allocations: 9.125 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/1.262, allocations: 0 / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of Templates: time 0.003367/1.266, allocations: 0.6885 MB / 1.094 GB, free: 0.8945 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/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