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.001081/0.001081, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001632/0.001632, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.406 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.601/2.601, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003685, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9018/0.9021, allocations: 142.4 MB / 0.9545 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.000914/0.9031, allocations: 423.1 kB / 0.9549 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.9041, allocations: 0.7948 MB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.9041, allocations: 1.25 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.9042, allocations: 0 / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.9042, allocations: 9.078 kB / 0.9556 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.692e-05/0.9043, allocations: 9.156 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.423e-05/0.9044, allocations: 42.72 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.9045, allocations: 15.14 kB / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.9046, allocations: 14.39 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.9047, allocations: 17.11 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.9047, allocations: 1.219 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-06/0.9047, allocations: 2.188 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.9047, allocations: 9.016 kB / 0.9558 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.9047, allocations: 31.64 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.219e-05/0.9048, allocations: 25.53 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9048, allocations: 0 / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9048, allocations: 1.062 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.9048, allocations: 0 / 0.9558 GB, free: 6.605 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.0004734/0.9053, allocations: 368.7 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.9054, allocations: 8.625 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.9054, allocations: 11.05 kB / 0.9562 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.9055, allocations: 172.9 kB / 0.9563 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.9055, allocations: 1.125 kB / 0.9563 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.9056, allocations: 5.281 kB / 0.9564 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.9058, allocations: 76.53 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.9058, allocations: 1.125 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.9058, allocations: 4 kB / 0.9564 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.9059, allocations: 5 kB / 0.9564 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.9061, allocations: 90.72 kB / 0.9565 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.9065, allocations: 267.3 kB / 0.9568 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.9067, allocations: 69.61 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.9069, allocations: 53.56 kB / 0.9569 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.9069, allocations: 3.938 kB / 0.9569 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.9069, allocations: 31.81 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.9069, allocations: 0 / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000515/0.9074, allocations: 171.5 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.9075, allocations: 51.41 kB / 0.9571 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.9075, allocations: 112.3 kB / 0.9572 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.9076, allocations: 25.7 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.9076, allocations: 86.05 kB / 0.9574 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.9076, allocations: 12.72 kB / 0.9574 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.9076, allocations: 0 / 0.9574 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.9077, allocations: 316 kB / 0.9577 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.9078, allocations: 42.91 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.908, allocations: 47.89 kB / 0.9578 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.9081, allocations: 43.73 kB / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9081, allocations: 0 / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002961/0.9084, allocations: 116.2 kB / 0.9579 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.9084, allocations: 6.406 kB / 0.9579 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.9084, allocations: 0 / 0.9579 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.9085, allocations: 11.89 kB / 0.9579 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.9086, allocations: 28.12 kB / 0.9579 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9086, allocations: 0 / 0.9579 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.9087, allocations: 15.36 kB / 0.958 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.9087, allocations: 1.75 kB / 0.958 GB, free: 4.656 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.9088, allocations: 111.8 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.9088, allocations: 5.875 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.9089, allocations: 13.84 kB / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.9089, allocations: 0 / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.9089, allocations: 3.953 kB / 0.9581 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.271e-05/0.9089, allocations: 0 / 0.9581 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.9091, allocations: 169.3 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9091, allocations: 1.312 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.9092, allocations: 22.77 kB / 0.9583 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.9092, allocations: 0 / 0.9583 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.9093, allocations: 1.469 kB / 0.9583 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.9093, allocations: 0 / 0.9583 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9093, allocations: 0 / 0.9583 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.9097, allocations: 223.2 kB / 0.9585 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.9097, allocations: 83.27 kB / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.9098, allocations: 0 / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.9099, allocations: 20.05 kB / 0.9586 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.91, allocations: 6.422 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.91, allocations: 0 / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.91, allocations: 93.89 kB / 0.9587 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.91, allocations: 0 / 0.9587 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002435/0.9103, allocations: 5.812 kB / 0.9587 GB, free: 3.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002425/0.9105, allocations: 109.4 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.9109, allocations: 90.11 kB / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9109, allocations: 0 / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.9111, allocations: 50.91 kB / 0.9589 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.9114, allocations: 11.11 kB / 0.9589 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.9119, allocations: 130.6 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.9121, allocations: 0.6837 MB / 0.9597 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.9121, allocations: 1.375 kB / 0.9597 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.9122, allocations: 12.81 kB / 0.9597 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.9122, allocations: 0 / 0.9597 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.0041/0.9163, allocations: 0.5309 MB / 0.9603 GB, free: 2.648 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/jenkins/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