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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001121/0.001121, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01099/0.01099, allocations: 170 kB / 16.26 MB, free: 6.613 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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.908/2.908, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004057, allocations: 15.34 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3694, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.0009092/0.3703, allocations: 448.3 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.3713, allocations: 0.8001 MB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.3713, allocations: 0 / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.3713, allocations: 0 / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.3714, allocations: 11.94 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.273e-05/0.3715, allocations: 7.984 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.3716, allocations: 43.8 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3717, allocations: 16 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.3718, allocations: 11.98 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.3719, allocations: 15.92 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3719, allocations: 3.938 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.3719, allocations: 4 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.3719, allocations: 11.97 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.372, allocations: 37.64 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.152e-05/0.3721, allocations: 43.8 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3721, allocations: 0 / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3721, allocations: 0 / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3721, allocations: 0 / 1.06 GB, free: 4.047 MB / 0.8106 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.0005847/0.3727, allocations: 371.6 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3727, allocations: 8.031 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.3728, allocations: 4.922 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3729, allocations: 172.2 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3729, allocations: 4.375 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3729, allocations: 4.375 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.3732, allocations: 82.16 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.3732, allocations: 192 / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3732, allocations: 7.938 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3732, allocations: 4 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.3736, allocations: 87.92 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3739, allocations: 261 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.3742, allocations: 78.41 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.3744, allocations: 48.91 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3744, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3744, allocations: 38.56 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.3744, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005945/0.375, allocations: 161.5 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3751, allocations: 51.41 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.3752, allocations: 117.8 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3752, allocations: 33.7 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.3753, allocations: 80.14 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3753, allocations: 11.91 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.3753, allocations: 9.719 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3755, allocations: 318.8 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3757, allocations: 43.97 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.3759, allocations: 43.95 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3762, allocations: 84.8 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3762, allocations: 3.938 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003464/0.3765, allocations: 125.5 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3766, allocations: 5.25 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3766, allocations: 7.938 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3766, allocations: 7.938 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.3767, allocations: 15.98 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3768, allocations: 4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.3769, allocations: 15.98 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3769, allocations: 8 kB / 1.062 GB, free: 1.547 MB / 0.8106 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.983e-05/0.377, allocations: 113.8 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.377, allocations: 4 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.377, allocations: 7.906 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.377, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.377, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.377, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.3772, allocations: 169.6 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3772, allocations: 0 / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3773, allocations: 27.97 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3773, allocations: 0 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3774, allocations: 0 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3774, allocations: 4 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3774, allocations: 0 / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.3778, allocations: 223.3 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.3779, allocations: 85.03 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3779, allocations: 4 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.378, allocations: 15.98 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.3781, allocations: 4.375 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3781, allocations: 0 / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.3781, allocations: 87.27 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3781, allocations: 4 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002176/0.3784, allocations: 4 kB / 1.063 GB, free: 0.7109 MB / 0.8106 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.0001936/0.3786, allocations: 103.2 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.3789, allocations: 91.91 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.379, allocations: 0 / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.3791, allocations: 55.89 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3795, allocations: 23.33 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.3798, allocations: 140.4 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3802, allocations: 0.6809 MB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.3802, allocations: 7.984 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3803, allocations: 11.44 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3803, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.002776/0.3831, allocations: 0.5379 MB / 1.065 GB, free: 15.02 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