Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.542/1.542, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.08 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4454, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00256/0.448, allocations: 0.6964 MB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.449, allocations: 0.81 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.4491, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.4492, allocations: 3.984 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.4493, allocations: 15.88 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.884e-05/0.4493, allocations: 7.984 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.4494, allocations: 43.86 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.4496, allocations: 11.98 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.4497, allocations: 19.92 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.4497, allocations: 19.91 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.4498, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.4498, allocations: 4 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.4498, allocations: 4 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.4498, allocations: 27.86 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.45, allocations: 43.81 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.45, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.779e-06/0.45, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.45, allocations: 3.938 kB / 1.07 GB, free: 8.664 MB / 0.8262 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.0006199/0.4506, allocations: 359.7 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4507, allocations: 12.03 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.4507, allocations: 4.844 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4509, allocations: 172.3 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4509, allocations: 4.375 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.4509, allocations: 4.375 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.4512, allocations: 66.22 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4512, allocations: 4.172 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4512, allocations: 3.938 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4512, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.4515, allocations: 63.94 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.4519, allocations: 272.8 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.4521, allocations: 62.47 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.4523, allocations: 36.92 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.4523, allocations: 0 / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.4523, allocations: 30.56 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.4523, allocations: 0 / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005507/0.4529, allocations: 137.5 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4529, allocations: 55.41 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.453, allocations: 105.8 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4531, allocations: 25.7 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.4531, allocations: 92.05 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.4531, allocations: 7.891 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4532, allocations: 21.72 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4533, allocations: 310.8 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4535, allocations: 35.89 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4536, allocations: 31.97 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.4539, allocations: 76.72 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4539, allocations: 3.938 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003192/0.4542, allocations: 93.62 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4543, allocations: 8 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4543, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4543, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.4544, allocations: 16.31 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4544, allocations: 3.984 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.4545, allocations: 11.98 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4545, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 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 0.0001047/0.4547, allocations: 118.3 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.4547, allocations: 7.844 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.4547, allocations: 15.89 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4547, allocations: 4 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4547, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4548, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.4549, allocations: 169.6 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.455, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.4551, allocations: 23.92 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4551, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4551, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4551, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4551, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.4555, allocations: 195.4 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.4555, allocations: 88.95 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.4556, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4557, allocations: 15.98 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.4557, allocations: 7.984 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.4557, allocations: 0 / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.4558, allocations: 87.28 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4558, allocations: 0 / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002144/0.456, allocations: 4 kB / 1.073 GB, free: 5.523 MB / 0.8262 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.0001618/0.4562, allocations: 107.2 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.4566, allocations: 71.92 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4566, allocations: 3.938 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.4567, allocations: 31.97 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4571, allocations: 13.81 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.4575, allocations: 147.4 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4578, allocations: 0.6768 MB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.4578, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.4579, allocations: 7.438 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.4579, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.002975/0.4608, allocations: 0.6802 MB / 1.074 GB, free: 3.738 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches