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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001455/0.001455, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001699/0.001699, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.779/2.779, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 72.12 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6779, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002609/0.6806, allocations: 0.7744 MB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.6817, allocations: 0.8001 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.6818, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.313e-05/0.6818, allocations: 3.938 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.893e-05/0.6819, allocations: 3.938 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.329e-05/0.682, allocations: 15.98 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.317e-05/0.6821, allocations: 39.86 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.6823, allocations: 11.98 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.6823, allocations: 11.94 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.6824, allocations: 23.91 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.6824, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.6824, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.6825, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.6825, allocations: 23.84 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.557e-05/0.6826, allocations: 39.88 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6826, allocations: 4 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6826, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.6826, allocations: 0 / 1.018 GB, free: 1.055 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.0005683/0.6832, allocations: 365.3 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6833, allocations: 8.031 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.6833, allocations: 8.938 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.6835, allocations: 168.2 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.6835, allocations: 4.375 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.6835, allocations: 4.375 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.6838, allocations: 66.22 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6838, allocations: 4.188 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6838, allocations: 3.938 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6839, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.6842, allocations: 67.92 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.6847, allocations: 264.9 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.6849, allocations: 58.47 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.6851, allocations: 36.92 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.6851, allocations: 7.938 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.6851, allocations: 34.56 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.6851, allocations: 0 / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005543/0.6857, allocations: 137.4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.6857, allocations: 51.41 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.6858, allocations: 109.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.6859, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.6859, allocations: 84.14 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.686, allocations: 15.81 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.686, allocations: 17.72 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6861, allocations: 310.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.6863, allocations: 39.91 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.6864, allocations: 31.95 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.6867, allocations: 69.06 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.6867, allocations: 7.938 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/0.6871, allocations: 105.5 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6871, allocations: 4 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6871, allocations: 320 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.6871, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.6872, allocations: 15.98 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.6873, allocations: 4 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.6873, allocations: 19.97 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.6874, allocations: 3.984 kB / 1.02 GB, free: 14.72 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.012e-05/0.6874, allocations: 113.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.6875, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.6875, allocations: 7.906 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6875, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6875, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6875, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.6877, allocations: 181.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6877, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.6878, allocations: 11.98 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6878, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6878, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6879, allocations: 7.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6879, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.6882, allocations: 195.4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.6883, allocations: 81.11 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.6883, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.6884, allocations: 11.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.6885, allocations: 7.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.6885, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.6886, allocations: 91.22 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.6886, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002235/0.6888, allocations: 11.91 kB / 1.021 GB, free: 13.91 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.0001668/0.689, allocations: 107.2 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.6893, allocations: 67.86 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6894, allocations: 7.938 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.6895, allocations: 35.97 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.6899, allocations: 9.188 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.6903, allocations: 133.4 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.6906, allocations: 0.6848 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.6907, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.6907, allocations: 7.438 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of SimCode: time 1.062e-06/0.6907, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.002933/0.6936, allocations: 0.54 MB / 1.023 GB, free: 12.26 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/jenkins/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