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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0012/0.0012, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001237/0.001237, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7476/0.7489, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001826/0.7508, allocations: 0.7077 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.7517, allocations: 0.8001 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.7517, allocations: 4 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.7518, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.7518, allocations: 3.938 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.818e-05/0.7519, allocations: 7.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.752, allocations: 47.91 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.7521, allocations: 15.94 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.7522, allocations: 15.92 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.7522, allocations: 23.91 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.7523, allocations: 8 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-06/0.7523, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.7523, allocations: 15.92 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.7523, allocations: 19.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.732e-05/0.7524, allocations: 31.88 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7524, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.527e-06/0.7525, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7525, allocations: 3.938 kB / 1.21 GB, free: 11.91 MB / 0.9356 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.0004951/0.753, allocations: 363.2 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.753, allocations: 12.02 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.753, allocations: 8.844 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.7532, allocations: 170.2 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.7532, allocations: 4.375 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.7532, allocations: 384 / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.7534, allocations: 70.16 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7535, allocations: 192 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.7535, allocations: 3.938 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7535, allocations: 8 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.7538, allocations: 59.92 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.7541, allocations: 268.9 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.7543, allocations: 66.41 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.7545, allocations: 32.92 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.7545, allocations: 3.938 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.7545, allocations: 38.56 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.7545, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005297/0.755, allocations: 129.6 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.7551, allocations: 51.41 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.7552, allocations: 113.8 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.7552, allocations: 25.7 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.7552, allocations: 92.05 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.7553, allocations: 11.84 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.7553, allocations: 21.7 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.7554, allocations: 310.8 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.7555, allocations: 31.97 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.7557, allocations: 31.95 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.7559, allocations: 73.06 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.756, allocations: 3.938 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003076/0.7563, allocations: 97.61 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7563, allocations: 4 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7563, allocations: 4 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.7563, allocations: 3.938 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.7564, allocations: 15.98 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7565, allocations: 0 / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.7565, allocations: 15.91 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.7566, allocations: 8 kB / 1.212 GB, free: 9.578 MB / 0.9356 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.119e-05/0.7566, allocations: 109.8 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.7567, allocations: 11.91 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.7567, allocations: 7.906 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7567, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7567, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7567, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.7569, allocations: 173.6 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7569, allocations: 0 / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.757, allocations: 15.98 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.757, allocations: 0 / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.757, allocations: 0 / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.757, allocations: 8 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.757, allocations: 0 / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.7574, allocations: 199.3 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.7574, allocations: 81.02 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.7574, allocations: 4 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.7575, allocations: 15.98 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.7576, allocations: 0 / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.7576, allocations: 4 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.7576, allocations: 91.2 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7576, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000212/0.7579, allocations: 8 kB / 1.213 GB, free: 8.758 MB / 0.9356 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.0001177/0.758, allocations: 95.25 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.7583, allocations: 71.92 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7583, allocations: 0 / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.7585, allocations: 43.89 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.7588, allocations: 7.938 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.7591, allocations: 159.2 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.7593, allocations: 0.6807 MB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.7594, allocations: 7.438 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/0.7594, allocations: 0 / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of Templates: time 0.002003/0.7614, allocations: 0.7478 MB / 1.215 GB, free: 6.895 MB / 0.9356 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/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