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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008541/0.0008541, allocations: 92.16 kB / 16.02 MB, free: 80 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.001025/0.001026, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003347, allocations: 11.06 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3294, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.0009699/0.3304, allocations: 440.4 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000895/0.3313, allocations: 0.8001 MB / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.3313, allocations: 0 / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.3314, allocations: 3.938 kB / 1.061 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.3314, allocations: 0 / 1.061 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.979e-05/0.3315, allocations: 19.92 kB / 1.061 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.3316, allocations: 43.8 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3317, allocations: 11.98 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.3318, allocations: 15.98 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.3318, allocations: 15.92 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3319, allocations: 3.938 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.3319, allocations: 4 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.3319, allocations: 4 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.332, allocations: 41.62 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.838e-05/0.332, allocations: 27.92 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.332, allocations: 4 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.136e-06/0.332, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.332, allocations: 3.938 kB / 1.061 GB, free: 3.516 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.0004902/0.3325, allocations: 367.6 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3326, allocations: 15.97 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.3326, allocations: 4.938 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3328, allocations: 176.2 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3328, allocations: 4.312 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3328, allocations: 4.375 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.3331, allocations: 78.22 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3331, allocations: 192 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3331, allocations: 7.938 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3331, allocations: 7.984 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.3334, allocations: 83.92 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.3338, allocations: 261 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.334, allocations: 78.41 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.3342, allocations: 44.92 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3342, allocations: 4 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3342, allocations: 30.56 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3342, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005668/0.3348, allocations: 165.5 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.3349, allocations: 63.34 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.335, allocations: 109.8 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.335, allocations: 25.7 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.335, allocations: 88.14 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.3351, allocations: 3.906 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.3351, allocations: 9.719 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3352, allocations: 322.8 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3354, allocations: 43.97 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3355, allocations: 39.95 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.3358, allocations: 92.8 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3359, allocations: 3.938 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003642/0.3362, allocations: 133.4 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3362, allocations: 4 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3363, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3363, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.3364, allocations: 19.98 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3364, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-05/0.3365, allocations: 27.92 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3365, allocations: 0 / 1.063 GB, free: 1.016 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.337e-05/0.3366, allocations: 117.8 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.3366, allocations: 3.984 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.3367, allocations: 7.906 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3367, allocations: 0 / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3367, allocations: 0 / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3367, allocations: 0 / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3369, allocations: 173.6 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3369, allocations: 0 / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.337, allocations: 23.97 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.337, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.337, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.337, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.337, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.3374, allocations: 227.6 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.3375, allocations: 89.08 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3375, allocations: 3.984 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3376, allocations: 15.98 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3377, allocations: 0 / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3377, allocations: 0 / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.3377, allocations: 95.25 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3377, allocations: 4 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002297/0.338, allocations: 8 kB / 1.064 GB, free: 168 kB / 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.0001467/0.3381, allocations: 99.25 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.3385, allocations: 95.86 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3385, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.3387, allocations: 47.95 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.339, allocations: 7.938 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.3393, allocations: 172.5 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.3396, allocations: 0.6848 MB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.3397, allocations: 7.438 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3397, allocations: 3.938 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of Templates: time 0.001947/0.3416, allocations: 0.7318 MB / 1.065 GB, free: 14.26 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/jenkins1/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