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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001164/0.001164, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.00126/0.00126, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 68.39 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2699, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.002249/0.2722, allocations: 0.763 MB / 0.9505 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.2732, allocations: 0.8001 MB / 0.9513 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.2733, allocations: 4 kB / 0.9513 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.2733, allocations: 7.938 kB / 0.9513 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.2734, allocations: 7.938 kB / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.338e-05/0.2735, allocations: 7.984 kB / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.2736, allocations: 43.91 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2737, allocations: 11.98 kB / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.2738, allocations: 19.92 kB / 0.9514 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.2738, allocations: 19.92 kB / 0.9514 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2738, allocations: 4 kB / 0.9514 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.2738, allocations: 4 kB / 0.9514 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.2739, allocations: 15.92 kB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.2739, allocations: 11.94 kB / 0.9515 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.111e-05/0.274, allocations: 27.94 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.274, allocations: 0 / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.274, allocations: 0 / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.274, allocations: 0 / 0.9515 GB, free: 7.43 MB / 0.7325 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.0005335/0.2745, allocations: 365 kB / 0.9518 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2746, allocations: 16.02 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.2746, allocations: 0.9375 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.2748, allocations: 180.2 kB / 0.952 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2748, allocations: 384 / 0.952 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2748, allocations: 8.375 kB / 0.952 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2751, allocations: 70.16 kB / 0.9521 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2751, allocations: 192 / 0.9521 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2751, allocations: 7.938 kB / 0.9521 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2751, allocations: 4 kB / 0.9521 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.2754, allocations: 63.92 kB / 0.9522 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.2758, allocations: 264.9 kB / 0.9524 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.276, allocations: 62.47 kB / 0.9525 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2762, allocations: 36.92 kB / 0.9525 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.2762, allocations: 0 / 0.9525 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2762, allocations: 30.56 kB / 0.9526 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.2762, allocations: 0 / 0.9526 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005113/0.2768, allocations: 141.4 kB / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2768, allocations: 55.41 kB / 0.9527 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.2769, allocations: 113.8 kB / 0.9528 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2769, allocations: 25.7 kB / 0.9529 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.277, allocations: 88.14 kB / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.277, allocations: 7.906 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.2771, allocations: 13.7 kB / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2772, allocations: 318.8 kB / 0.9533 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2773, allocations: 27.97 kB / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2775, allocations: 35.95 kB / 0.9533 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.2777, allocations: 68.78 kB / 0.9534 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2778, allocations: 3.938 kB / 0.9534 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003053/0.2781, allocations: 101.5 kB / 0.9535 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2781, allocations: 8 kB / 0.9535 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.2781, allocations: 4 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2781, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2782, allocations: 12.31 kB / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2783, allocations: 0 / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.2783, allocations: 15.97 kB / 0.9535 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2784, allocations: 0 / 0.9535 GB, free: 5.098 MB / 0.7325 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.277e-05/0.2785, allocations: 117.8 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.2785, allocations: 4 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.2785, allocations: 11.89 kB / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2785, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2785, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2785, allocations: 3.938 kB / 0.9537 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.2787, allocations: 177.5 kB / 0.9538 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2787, allocations: 0 / 0.9538 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.2788, allocations: 15.98 kB / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2788, allocations: 0 / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2788, allocations: 3.938 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2789, allocations: 4 kB / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2789, allocations: 4 kB / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.2792, allocations: 195.4 kB / 0.9541 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.2793, allocations: 85.05 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2793, allocations: 0 / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2794, allocations: 11.98 kB / 0.9542 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.2794, allocations: 8 kB / 0.9542 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2795, allocations: 3.984 kB / 0.9542 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.2795, allocations: 87.28 kB / 0.9542 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2795, allocations: 0 / 0.9542 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002176/0.2797, allocations: 4 kB / 0.9543 GB, free: 4.277 MB / 0.7325 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.0001377/0.2799, allocations: 103.2 kB / 0.9544 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.2802, allocations: 75.86 kB / 0.9544 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2802, allocations: 0 / 0.9544 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2804, allocations: 35.95 kB / 0.9545 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.2807, allocations: 14.19 kB / 0.9545 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.2811, allocations: 167.2 kB / 0.9546 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.2814, allocations: 0.6805 MB / 0.9553 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.2815, allocations: 15.44 kB / 0.9553 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2815, allocations: 0 / 0.9553 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of Templates: time 0.002124/0.2836, allocations: 0.7441 MB / 0.956 GB, free: 2.391 MB / 0.7325 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