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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 71.84 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.8949, allocations: 168.7 MB / 1.274 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002085/0.897, allocations: 0.7083 MB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.898, allocations: 0.8079 MB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.8981, allocations: 0 / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.8981, allocations: 3.984 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.8982, allocations: 15.86 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.302e-05/0.8982, allocations: 15.98 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.8983, allocations: 35.92 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.8985, allocations: 11.98 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.586e-05/0.8985, allocations: 19.92 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.8986, allocations: 19.92 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.8986, allocations: 4 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.8986, allocations: 4 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.8986, allocations: 11.92 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.8987, allocations: 11.94 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.669e-05/0.8987, allocations: 47.59 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8988, allocations: 4 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8988, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8988, allocations: 3.938 kB / 1.276 GB, free: 2.66 MB / 0.9669 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.0005921/0.8994, allocations: 370.1 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.8994, allocations: 8.031 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.8994, allocations: 8.891 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.8996, allocations: 168.3 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8996, allocations: 384 / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.8996, allocations: 4.375 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.8999, allocations: 74.2 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.8999, allocations: 192 / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.8999, allocations: 3.938 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.8999, allocations: 0 / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.9002, allocations: 67.92 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.9006, allocations: 264.9 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.9008, allocations: 58.47 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.901, allocations: 36.91 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.901, allocations: 4 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.901, allocations: 38.56 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9011, allocations: 0 / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0006306/0.9017, allocations: 129.5 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.9017, allocations: 55.41 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.9019, allocations: 109.8 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.9019, allocations: 25.7 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.902, allocations: 92.12 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.902, allocations: 11.84 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.902, allocations: 17.72 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.9022, allocations: 310.8 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.9024, allocations: 39.95 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.9025, allocations: 27.97 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.9028, allocations: 72.72 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9028, allocations: 3.938 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003675/0.9032, allocations: 97.62 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.9032, allocations: 4 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.9032, allocations: 4 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.9032, allocations: 0 / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.9034, allocations: 19.97 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9034, allocations: 0 / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.9035, allocations: 27.88 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.9035, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 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.0001164/0.9036, allocations: 110.3 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.9036, allocations: 7.938 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.9037, allocations: 7.906 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9037, allocations: 0 / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.9037, allocations: 3.984 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9037, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.9039, allocations: 173.6 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.9039, allocations: 4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.896e-05/0.904, allocations: 19.92 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.904, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.904, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9041, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.9041, allocations: 7.984 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.9045, allocations: 195.4 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.9045, allocations: 81.11 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.9045, allocations: 0 / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9047, allocations: 11.98 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.9047, allocations: 3.984 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.9047, allocations: 4 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.9048, allocations: 87.27 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9048, allocations: 4 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002219/0.905, allocations: 8 kB / 1.279 GB, free: 15.51 MB / 0.9825 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.0002322/0.9052, allocations: 99.19 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.9056, allocations: 67.92 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.9056, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.9058, allocations: 32.44 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.9062, allocations: 15.92 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.9067, allocations: 137.4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.9071, allocations: 0.6807 MB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.9071, allocations: 7.938 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.9072, allocations: 11.53 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/0.9072, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of Templates: time 0.003681/0.9109, allocations: 0.6894 MB / 1.28 GB, free: 13.72 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (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 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.100534952245653]