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.001959/0.001959, allocations: 106.5 kB / 16.27 MB, free: 6.402 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.001481/0.001481, allocations: 191.2 kB / 17.2 MB, free: 5.938 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.642/2.642, allocations: 482.4 MB / 0.7553 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7118/0.7137, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001781/0.7155, allocations: 0.7005 MB / 1.084 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.7162, allocations: 0.8013 MB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.7162, allocations: 0.75 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.7163, allocations: 0 / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.632e-05/0.7163, allocations: 14.14 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.883e-05/0.7164, allocations: 9.734 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.7165, allocations: 47.27 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.7166, allocations: 10.12 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.7166, allocations: 13.95 kB / 1.084 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.7167, allocations: 18.61 kB / 1.085 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.7167, allocations: 3.656 kB / 1.085 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.7167, allocations: 7.469 kB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.7167, allocations: 15.14 kB / 1.085 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.7168, allocations: 17.64 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.611e-05/0.7168, allocations: 44.39 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7168, allocations: 0 / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7169, allocations: 3.938 kB / 1.085 GB, free: 488 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7169, allocations: 0 / 1.085 GB, free: 488 kB / 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.0004142/0.7173, allocations: 364.1 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.7173, allocations: 13.47 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.7174, allocations: 10.72 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.7175, allocations: 168.5 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7175, allocations: 1.5 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.7175, allocations: 1.938 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.7178, allocations: 68.36 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.7178, allocations: 0.8438 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.7178, allocations: 4.875 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.7178, allocations: 0 / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.7181, allocations: 71.33 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.7185, allocations: 270.2 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.7187, allocations: 59.77 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.7189, allocations: 37.27 kB / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.7189, allocations: 0 / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.7189, allocations: 40.41 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.7189, allocations: 0 / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000552/0.7195, allocations: 132.7 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.7195, allocations: 52.11 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.7196, allocations: 107.4 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.7197, allocations: 26.83 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.7197, allocations: 90.55 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.7197, allocations: 13.47 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.7198, allocations: 17.92 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7199, allocations: 313.2 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.7201, allocations: 30.7 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.7202, allocations: 32.58 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.7205, allocations: 70.33 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.7205, allocations: 7.875 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003143/0.7209, allocations: 92.77 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.7209, allocations: 6.719 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7209, allocations: 4 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.7209, allocations: 1.656 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.721, allocations: 15.3 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.721, allocations: 3.938 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.7211, allocations: 19.67 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.7211, allocations: 1.156 kB / 1.087 GB, free: 14.69 MB / 0.8419 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.937e-05/0.7212, allocations: 113.8 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.7213, allocations: 5.344 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.7213, allocations: 17.78 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7213, allocations: 1.781 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7213, allocations: 0 / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7213, allocations: 0.6562 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.7215, allocations: 175.8 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7215, allocations: 0 / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.7216, allocations: 18.38 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.7216, allocations: 1.188 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.7216, allocations: 0.6562 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7216, allocations: 4.656 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7217, allocations: 0.8125 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.722, allocations: 190 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.7221, allocations: 86.77 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.7221, allocations: 1.031 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.7222, allocations: 15.75 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.7223, allocations: 3.547 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.7223, allocations: 5.875 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.7223, allocations: 88.53 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7223, allocations: 0 / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002056/0.7225, allocations: 6.219 kB / 1.087 GB, free: 14.01 MB / 0.8419 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.0001281/0.7227, allocations: 102.2 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003469/0.723, allocations: 70.38 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.723, allocations: 0 / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.7232, allocations: 38.47 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.7235, allocations: 10.59 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.7238, allocations: 161.6 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.7241, allocations: 0.6837 MB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.7241, allocations: 9.125 kB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.7241, allocations: 0 / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.002072/0.7262, allocations: 0.7474 MB / 1.089 GB, free: 12.99 MB / 0.8419 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=400 -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