Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_10_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_10_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.006206/0.006206, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001262/0.001262, allocations: 196.4 kB / 16.79 MB, free: 5.809 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 437 MB / 0.7106 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.6457, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002264/0.648, allocations: 0.763 MB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.6489, allocations: 0.804 MB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.649, allocations: 0 / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.6491, allocations: 7.922 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.6492, allocations: 11.92 kB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.798e-05/0.6492, allocations: 12 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.108e-05/0.6493, allocations: 39.91 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.6494, allocations: 8 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.6495, allocations: 11.92 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.6495, allocations: 23.92 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.6496, allocations: 0 / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.6496, allocations: 4 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.6496, allocations: 7.984 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.6496, allocations: 23.8 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.723e-05/0.6497, allocations: 31.94 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6497, allocations: 4 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6497, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.6497, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 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.0005181/0.6503, allocations: 365.3 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6503, allocations: 8.031 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.6504, allocations: 8.938 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.6505, allocations: 164.3 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6505, allocations: 384 / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.6505, allocations: 8.375 kB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.6508, allocations: 70.2 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.6508, allocations: 192 / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6508, allocations: 7.938 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6508, allocations: 4 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.6511, allocations: 63.88 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.6515, allocations: 264.9 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.6518, allocations: 66.47 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.6519, allocations: 32.92 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.6519, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.652, allocations: 38.55 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 4.218e-06/0.652, allocations: 3.984 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000541/0.6525, allocations: 133.4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.6526, allocations: 55.41 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.6527, allocations: 109.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6527, allocations: 25.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.6527, allocations: 88.14 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.6528, allocations: 19.77 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.6528, allocations: 13.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.6529, allocations: 314.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.6531, allocations: 35.95 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.6532, allocations: 27.97 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.6535, allocations: 76.72 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6535, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003136/0.6538, allocations: 93.53 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6538, allocations: 8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.6538, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.6539, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.654, allocations: 19.97 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.654, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.6541, allocations: 7.984 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.6541, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 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 8.061e-05/0.6542, allocations: 113.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.6542, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.6543, allocations: 7.906 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6543, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6543, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.6543, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.6545, allocations: 177.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6545, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.6546, allocations: 15.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6546, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.6546, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6546, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6546, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.655, allocations: 203.4 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.655, allocations: 77.11 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.655, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6552, allocations: 19.92 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.6552, allocations: 7.984 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.6552, allocations: 4 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.6553, allocations: 83.28 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.874e-06/0.6553, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002274/0.6555, allocations: 15.84 kB / 1.022 GB, free: 13.87 MB / 0.7794 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.0001255/0.6557, allocations: 103.2 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.656, allocations: 72.3 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.656, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.6562, allocations: 31.97 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.6565, allocations: 15.92 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.6569, allocations: 161.1 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.6571, allocations: 0.6809 MB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.6572, allocations: 7.438 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of SimCode: time 5.62e-07/0.6572, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.002209/0.6594, allocations: 0.7406 MB / 1.024 GB, free: 12 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches