Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00107/0.00107, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008889/0.00889, allocations: 169.3 kB / 16.26 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.611/1.611, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.104/3.104, allocations: 470.6 MB / 0.7441 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 11.34 kB / 0.9123 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3959, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001201/0.3972, allocations: 440.4 kB / 1.07 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3986, allocations: 0.798 MB / 1.071 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.3987, allocations: 0 / 1.071 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.3988, allocations: 3.938 kB / 1.071 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.3989, allocations: 7.938 kB / 1.071 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.753e-05/0.399, allocations: 11.98 kB / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3992, allocations: 39.86 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.3994, allocations: 19.98 kB / 1.071 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3995, allocations: 11.98 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.3996, allocations: 23.84 kB / 1.071 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3996, allocations: 4 kB / 1.071 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.3996, allocations: 0 / 1.071 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.3996, allocations: 4 kB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.3997, allocations: 41.62 kB / 1.071 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3999, allocations: 43.8 kB / 1.071 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3999, allocations: 0 / 1.071 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3999, allocations: 0 / 1.071 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3999, allocations: 4 kB / 1.071 GB, free: 9.93 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.000797/0.4007, allocations: 363.7 kB / 1.072 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.88e-05/0.4008, allocations: 11.97 kB / 1.072 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.4008, allocations: 4.938 kB / 1.072 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.401, allocations: 176.2 kB / 1.072 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4011, allocations: 4.375 kB / 1.072 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.4011, allocations: 384 / 1.072 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.4014, allocations: 82.2 kB / 1.072 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4015, allocations: 192 / 1.072 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4015, allocations: 7.938 kB / 1.072 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4015, allocations: 0 / 1.072 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.4018, allocations: 87.92 kB / 1.072 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.4024, allocations: 272.9 kB / 1.072 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.4027, allocations: 66.48 kB / 1.072 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.4028, allocations: 52.91 kB / 1.072 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.4029, allocations: 0 / 1.072 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.4029, allocations: 38.56 kB / 1.072 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.4029, allocations: 0 / 1.072 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006912/0.4036, allocations: 161.4 kB / 1.073 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.4037, allocations: 55.41 kB / 1.073 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.4039, allocations: 109.8 kB / 1.073 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.404, allocations: 29.7 kB / 1.073 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.4041, allocations: 88.12 kB / 1.073 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.4041, allocations: 7.906 kB / 1.073 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.4041, allocations: 9.719 kB / 1.073 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002626/0.4044, allocations: 310.8 kB / 1.073 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.4046, allocations: 47.95 kB / 1.073 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.4047, allocations: 39.97 kB / 1.073 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.4051, allocations: 93.06 kB / 1.073 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4051, allocations: 3.938 kB / 1.073 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003832/0.4055, allocations: 125.5 kB / 1.073 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.4055, allocations: 12 kB / 1.073 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4055, allocations: 3.938 kB / 1.073 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4055, allocations: 0 / 1.073 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4057, allocations: 23.97 kB / 1.074 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4057, allocations: 0 / 1.074 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/0.4058, allocations: 23.98 kB / 1.074 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4058, allocations: 0 / 1.074 GB, free: 7.438 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.0001051/0.4059, allocations: 113.8 kB / 1.074 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.406, allocations: 0 / 1.074 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.406, allocations: 7.906 kB / 1.074 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.406, allocations: 0 / 1.074 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.406, allocations: 7.984 kB / 1.074 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.406, allocations: 0 / 1.074 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4063, allocations: 173.5 kB / 1.074 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4063, allocations: 0 / 1.074 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.782e-05/0.4064, allocations: 19.98 kB / 1.074 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.4064, allocations: 4 kB / 1.074 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.4064, allocations: 3.938 kB / 1.074 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4064, allocations: 0 / 1.074 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4064, allocations: 0 / 1.074 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.4069, allocations: 223.3 kB / 1.074 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.4069, allocations: 85.05 kB / 1.074 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.407, allocations: 4 kB / 1.074 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4071, allocations: 11.98 kB / 1.074 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.4071, allocations: 7.984 kB / 1.074 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.4072, allocations: 0 / 1.074 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.452e-05/0.4072, allocations: 91.27 kB / 1.074 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4072, allocations: 0 / 1.074 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002161/0.4074, allocations: 8 kB / 1.074 GB, free: 6.594 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.0002109/0.4077, allocations: 99.25 kB / 1.074 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.4081, allocations: 91.86 kB / 1.074 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4081, allocations: 0 / 1.074 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.4083, allocations: 51.97 kB / 1.074 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4086, allocations: 11.92 kB / 1.074 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.4091, allocations: 140.5 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.4095, allocations: 0.677 MB / 1.075 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.594e-05/0.4096, allocations: 8 kB / 1.075 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.4096, allocations: 7.438 kB / 1.075 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of SimCode: time 8.21e-07/0.4097, allocations: 0 / 1.075 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of Templates: time 0.003683/0.4133, allocations: 0.5456 MB / 1.076 GB, free: 4.914 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches