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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008597/0.008597, allocations: 99.11 kB / 15.73 MB, free: 6.008 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.001834/0.001834, allocations: 189.8 kB / 16.67 MB, free: 5.926 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 472.7 MB / 0.7453 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.939, allocations: 159.9 MB / 1.226 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001893/0.9409, allocations: 0.7002 MB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.9418, allocations: 0.804 MB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.9419, allocations: 0 / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.9419, allocations: 3.938 kB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.962e-05/0.942, allocations: 7.938 kB / 1.227 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.883e-05/0.9421, allocations: 7.984 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.9422, allocations: 51.78 kB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.9423, allocations: 15.98 kB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.9424, allocations: 15.98 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.9424, allocations: 19.86 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.9424, allocations: 4 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.9424, allocations: 4 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.9425, allocations: 7.984 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.9425, allocations: 15.94 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.9426, allocations: 43.8 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.9426, allocations: 0 / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9426, allocations: 4 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.9426, allocations: 0 / 1.227 GB, free: 11.95 MB / 0.9512 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.000531/0.9432, allocations: 364.3 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9432, allocations: 12.03 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.9433, allocations: 4.891 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.9434, allocations: 184.2 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.9434, allocations: 4.312 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.9434, allocations: 8.375 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.9437, allocations: 66.22 kB / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9437, allocations: 192 / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.9437, allocations: 3.938 kB / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9437, allocations: 0 / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.944, allocations: 67.92 kB / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.9443, allocations: 272.9 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.9445, allocations: 54.42 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.9447, allocations: 40.91 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.9447, allocations: 4 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.9447, allocations: 34.56 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.9448, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005042/0.9453, allocations: 121.6 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.9454, allocations: 63.33 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.9455, allocations: 109.8 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.9455, allocations: 25.7 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.9455, allocations: 84.14 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.9456, allocations: 15.84 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.9456, allocations: 13.72 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9457, allocations: 318.8 kB / 1.229 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.9459, allocations: 35.91 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.946, allocations: 35.95 kB / 1.229 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.9463, allocations: 60.8 kB / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.9463, allocations: 3.938 kB / 1.229 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002944/0.9466, allocations: 101.9 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9466, allocations: 7.984 kB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9466, allocations: 0 / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9466, allocations: 4 kB / 1.229 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.9467, allocations: 11.98 kB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.9468, allocations: 0 / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.9468, allocations: 19.94 kB / 1.229 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.9469, allocations: 0 / 1.229 GB, free: 9.609 MB / 0.9512 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.605e-05/0.9469, allocations: 117.8 kB / 1.23 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.947, allocations: 3.984 kB / 1.23 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.947, allocations: 15.89 kB / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.947, allocations: 0 / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.947, allocations: 0 / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.947, allocations: 0 / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.9472, allocations: 169.6 kB / 1.23 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9472, allocations: 4 kB / 1.23 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.9473, allocations: 23.91 kB / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9473, allocations: 0 / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.9473, allocations: 0 / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9473, allocations: 0 / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9473, allocations: 0 / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.9477, allocations: 199.3 kB / 1.23 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.9477, allocations: 81.11 kB / 1.23 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.9477, allocations: 4 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.9478, allocations: 11.97 kB / 1.23 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.9479, allocations: 8 kB / 1.23 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.9479, allocations: 0 / 1.23 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.948, allocations: 91.58 kB / 1.23 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.948, allocations: 4 kB / 1.23 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002135/0.9482, allocations: 4 kB / 1.23 GB, free: 8.785 MB / 0.9512 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.000126/0.9483, allocations: 103.2 kB / 1.23 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.9486, allocations: 67.86 kB / 1.23 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9487, allocations: 7.938 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.9488, allocations: 39.95 kB / 1.23 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.9491, allocations: 11.94 kB / 1.23 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.9495, allocations: 127.6 kB / 1.23 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.9497, allocations: 0.6807 MB / 1.231 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.9498, allocations: 7.984 kB / 1.231 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.9498, allocations: 11.44 kB / 1.231 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.9498, allocations: 0 / 1.231 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of Templates: time 0.002804/0.9526, allocations: 0.6747 MB / 1.232 GB, free: 7.004 MB / 0.9512 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