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.01051/0.01051, allocations: 97.55 kB / 15.73 MB, free: 6.016 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.002361/0.002361, allocations: 193.1 kB / 16.67 MB, free: 5.934 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.387/2.387, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.91 kB / 0.9509 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.002016/1.062, allocations: 0.7018 MB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009687/1.063, allocations: 0.8012 MB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/1.063, allocations: 4.844 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/1.063, allocations: 4.5 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/1.063, allocations: 9.781 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.596e-05/1.063, allocations: 10.67 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.052e-05/1.063, allocations: 43.34 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/1.063, allocations: 10.36 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/1.063, allocations: 21.3 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/1.063, allocations: 22.33 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/1.063, allocations: 4.344 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/1.063, allocations: 4.031 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/1.063, allocations: 6.203 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/1.063, allocations: 22.23 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/1.063, allocations: 39.56 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.063, allocations: 1.094 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.215e-06/1.063, allocations: 0 / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.063, allocations: 0 / 1.09 GB, free: 4.359 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.0005197/1.064, allocations: 370 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.064, allocations: 9.875 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/1.064, allocations: 11.05 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/1.064, allocations: 168 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/1.064, allocations: 5.344 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/1.064, allocations: 2.375 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/1.064, allocations: 73 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.064, allocations: 192 / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/1.064, allocations: 5.125 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.064, allocations: 0 / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/1.065, allocations: 66.72 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/1.065, allocations: 267.5 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/1.065, allocations: 57.81 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/1.066, allocations: 41.84 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/1.066, allocations: 0.5625 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/1.066, allocations: 40.23 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/1.066, allocations: 0 / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005864/1.066, allocations: 131.9 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/1.066, allocations: 52.56 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/1.066, allocations: 111.2 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/1.066, allocations: 26.5 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/1.066, allocations: 87.09 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/1.066, allocations: 10.33 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/1.066, allocations: 17.22 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/1.067, allocations: 313.8 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/1.067, allocations: 31.03 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/1.067, allocations: 35.11 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/1.067, allocations: 74.34 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.067, allocations: 8.875 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003264/1.067, allocations: 101.3 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.068, allocations: 6.156 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/1.068, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.068, allocations: 0.7188 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/1.068, allocations: 15.66 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.068, allocations: 0.875 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/1.068, allocations: 11.61 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/1.068, allocations: 0.7812 kB / 1.092 GB, free: 2.574 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.11e-05/1.068, allocations: 124.8 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/1.068, allocations: 1.812 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/1.068, allocations: 10 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.068, allocations: 0.875 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.068, allocations: 0.6562 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.068, allocations: 1.062 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/1.068, allocations: 166.5 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.068, allocations: 0 / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/1.068, allocations: 23.59 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/1.068, allocations: 1.219 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.068, allocations: 4.562 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.068, allocations: 0 / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.068, allocations: 4.969 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/1.069, allocations: 198 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/1.069, allocations: 79 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/1.069, allocations: 1.188 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/1.069, allocations: 15.28 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/1.069, allocations: 8.281 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/1.069, allocations: 0.75 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.72e-05/1.069, allocations: 87.78 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.069, allocations: 0 / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002209/1.069, allocations: 6.375 kB / 1.092 GB, free: 1.895 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.0001557/1.069, allocations: 104.8 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003996/1.07, allocations: 66.11 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.07, allocations: 0 / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/1.07, allocations: 39.2 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/1.07, allocations: 12.44 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/1.071, allocations: 126.5 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/1.071, allocations: 0.6799 MB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.897e-05/1.071, allocations: 5.766 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/1.071, allocations: 12.97 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/1.071, allocations: 1.156 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of Templates: time 0.003414/1.074, allocations: 0.6755 MB / 1.094 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/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