Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009294/0.0009295, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 180 kB / 16.92 MB, free: 6.652 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.531/1.531, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004179, allocations: 19.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7641, allocations: 142.4 MB / 0.9557 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001006/0.7652, allocations: 440.7 kB / 0.9561 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.7661, allocations: 0.7958 MB / 0.9569 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.7662, allocations: 1.031 kB / 0.9569 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.7662, allocations: 3.938 kB / 0.9569 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.7663, allocations: 17.25 kB / 0.9569 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.34e-05/0.7663, allocations: 5.188 kB / 0.9569 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.7664, allocations: 41.44 kB / 0.957 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.7666, allocations: 11.56 kB / 0.957 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.7666, allocations: 13.92 kB / 0.957 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.7667, allocations: 17.61 kB / 0.957 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.7667, allocations: 0.875 kB / 0.957 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.7667, allocations: 2.344 kB / 0.957 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.7667, allocations: 12.98 kB / 0.957 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.7668, allocations: 37.14 kB / 0.9571 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.477e-05/0.7669, allocations: 21.19 kB / 0.9571 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7669, allocations: 0 / 0.9571 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7669, allocations: 5.219 kB / 0.9571 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7669, allocations: 0 / 0.9571 GB, free: 6.754 MB / 0.7169 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.000474/0.7674, allocations: 368 kB / 0.9575 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.7674, allocations: 10.16 kB / 0.9575 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.7675, allocations: 6.094 kB / 0.9575 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.835e-05/0.7676, allocations: 184 kB / 0.9576 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.7676, allocations: 4.375 kB / 0.9576 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.7676, allocations: 3.125 kB / 0.9577 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.7679, allocations: 80.31 kB / 0.9577 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7679, allocations: 192 / 0.9577 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7679, allocations: 13.14 kB / 0.9577 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7679, allocations: 0 / 0.9577 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.7682, allocations: 83.38 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.7686, allocations: 266.7 kB / 0.9581 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.7688, allocations: 70.69 kB / 0.9581 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.769, allocations: 45.64 kB / 0.9582 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.769, allocations: 3.938 kB / 0.9582 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.769, allocations: 39.62 kB / 0.9582 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.769, allocations: 0 / 0.9582 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005986/0.7696, allocations: 162.9 kB / 0.9584 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.7697, allocations: 52.38 kB / 0.9584 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.7698, allocations: 111.3 kB / 0.9585 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.7698, allocations: 26.83 kB / 0.9586 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.7698, allocations: 89.3 kB / 0.9586 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.7698, allocations: 13.14 kB / 0.9587 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.7699, allocations: 11.09 kB / 0.9587 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.77, allocations: 316.2 kB / 0.959 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.7701, allocations: 47.14 kB / 0.959 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.7703, allocations: 39.25 kB / 0.9591 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.7706, allocations: 90.12 kB / 0.9591 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7706, allocations: 5.281 kB / 0.9591 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003607/0.771, allocations: 124.4 kB / 0.9593 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.771, allocations: 5.188 kB / 0.9593 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.771, allocations: 0 / 0.9593 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.771, allocations: 0.9375 kB / 0.9593 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.7712, allocations: 19.42 kB / 0.9593 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7712, allocations: 0 / 0.9593 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.7713, allocations: 24.44 kB / 0.9593 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.7713, allocations: 0 / 0.9593 GB, free: 4.766 MB / 0.7169 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 6.259e-05/0.7714, allocations: 116.4 kB / 0.9594 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.7714, allocations: 5.531 kB / 0.9594 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.7714, allocations: 5.188 kB / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7714, allocations: 336 / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7714, allocations: 1.594 kB / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.7714, allocations: 4 kB / 0.9594 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.7716, allocations: 172.8 kB / 0.9596 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7716, allocations: 4 kB / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.7717, allocations: 23.34 kB / 0.9596 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7717, allocations: 1.156 kB / 0.9596 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.7717, allocations: 0 / 0.9596 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7717, allocations: 9.781 kB / 0.9596 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7717, allocations: 0 / 0.9596 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.7721, allocations: 226.7 kB / 0.9599 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.7722, allocations: 82.8 kB / 0.9599 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.7722, allocations: 1.875 kB / 0.9599 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.7723, allocations: 14.92 kB / 0.96 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.7723, allocations: 9.766 kB / 0.96 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.7724, allocations: 1.812 kB / 0.96 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.7724, allocations: 84.61 kB / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7724, allocations: 0 / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002101/0.7726, allocations: 15.22 kB / 0.9601 GB, free: 4.023 MB / 0.7169 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.0001496/0.7728, allocations: 101.5 kB / 0.9602 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.7731, allocations: 92.61 kB / 0.9602 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7732, allocations: 1.375 kB / 0.9602 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.7733, allocations: 46.22 kB / 0.9603 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.7737, allocations: 11.23 kB / 0.9603 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.774, allocations: 161.8 kB / 0.9605 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.7742, allocations: 0.6837 MB / 0.9611 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.7743, allocations: 12.81 kB / 0.9611 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7743, allocations: 0 / 0.9611 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.002448/0.7767, allocations: 0.7341 MB / 0.9619 GB, free: 2.629 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches