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.001351/0.001351, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001457/0.001457, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.91 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8163, allocations: 159.1 MB / 1.221 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001778/0.8181, allocations: 0.685 MB / 1.222 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008838/0.819, allocations: 0.8039 MB / 1.222 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.819, allocations: 4 kB / 1.222 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.8191, allocations: 3.938 kB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.8192, allocations: 3.938 kB / 1.222 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.957e-05/0.8192, allocations: 11.98 kB / 1.222 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.768e-05/0.8194, allocations: 51.84 kB / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.8195, allocations: 15.92 kB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.8195, allocations: 15.92 kB / 1.223 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.8196, allocations: 31.86 kB / 1.223 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.8196, allocations: 4 kB / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.8196, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.8197, allocations: 11.98 kB / 1.223 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.8197, allocations: 15.88 kB / 1.223 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.78e-05/0.8198, allocations: 47.84 kB / 1.223 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.8198, allocations: 0 / 1.223 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8198, allocations: 0 / 1.223 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.8198, allocations: 0 / 1.223 GB, free: 0.6055 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.0005581/0.8204, allocations: 369.7 kB / 1.223 GB, free: 204 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.8204, allocations: 8.625 kB / 1.223 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.8204, allocations: 4.938 kB / 1.223 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.8206, allocations: 174.1 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.8206, allocations: 4.375 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.8206, allocations: 384 / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.8209, allocations: 66.22 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8209, allocations: 4.125 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8209, allocations: 7.938 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.8209, allocations: 4 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.8212, allocations: 63.92 kB / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.8216, allocations: 265 kB / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.8218, allocations: 62.48 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.8219, allocations: 36.91 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.8219, allocations: 3.938 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.822, allocations: 34.56 kB / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.822, allocations: 0 / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005106/0.8225, allocations: 129.6 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.8225, allocations: 51.41 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.8226, allocations: 113.8 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.8227, allocations: 25.7 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.8227, allocations: 88.14 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.8227, allocations: 15.78 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.8228, allocations: 13.72 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8229, allocations: 318.8 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.823, allocations: 35.91 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.8232, allocations: 31.95 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.8235, allocations: 68.8 kB / 1.225 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8235, allocations: 3.938 kB / 1.225 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003088/0.8238, allocations: 97.53 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8238, allocations: 11.98 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.8238, allocations: 3.938 kB / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.8238, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.824, allocations: 15.98 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.824, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.8241, allocations: 11.98 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.8241, allocations: 3.938 kB / 1.225 GB, free: 14.28 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 8.533e-05/0.8242, allocations: 113.8 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.8242, allocations: 8 kB / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.8242, allocations: 7.891 kB / 1.225 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.8242, allocations: 336 / 1.225 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8242, allocations: 0 / 1.225 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.8242, allocations: 0 / 1.225 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.8244, allocations: 169.6 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8244, allocations: 3.984 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.8245, allocations: 19.97 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8245, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.8246, allocations: 4 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8246, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8246, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.8249, allocations: 199.3 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.825, allocations: 81.05 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.825, allocations: 4 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.8251, allocations: 15.97 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.8252, allocations: 4 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.8252, allocations: 8 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.8252, allocations: 83.27 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.483e-06/0.8252, allocations: 0 / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002212/0.8254, allocations: 15.94 kB / 1.225 GB, free: 13.45 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.000121/0.8256, allocations: 103.2 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.8259, allocations: 67.92 kB / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8259, allocations: 0 / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.8261, allocations: 39.89 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.8264, allocations: 15.94 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.8267, allocations: 155.1 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.827, allocations: 0.6807 MB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.827, allocations: 7.438 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.827, allocations: 0 / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.002193/0.8292, allocations: 0.7573 MB / 1.227 GB, free: 11.58 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/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