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.001671/0.001671, allocations: 103.1 kB / 16.27 MB, free: 6.414 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.001764/0.001765, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.305/2.305, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 65.45 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3141, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.00263/0.3168, allocations: 0.6962 MB / 0.951 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3182, allocations: 0.8079 MB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.3183, allocations: 0 / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.3183, allocations: 3.938 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.3185, allocations: 7.922 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.717e-05/0.3186, allocations: 11.98 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.3186, allocations: 47.84 kB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3188, allocations: 8 kB / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.3189, allocations: 19.92 kB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.3189, allocations: 23.91 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3189, allocations: 4 kB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.319, allocations: 4 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.319, allocations: 7.938 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.319, allocations: 19.92 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.517e-05/0.3191, allocations: 39.86 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3191, allocations: 0 / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3191, allocations: 0 / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3191, allocations: 0 / 0.952 GB, free: 7.137 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.0005414/0.3197, allocations: 363.6 kB / 0.9523 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3197, allocations: 8.031 kB / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.3198, allocations: 4.938 kB / 0.9523 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.32, allocations: 180.2 kB / 0.9525 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.32, allocations: 384 / 0.9525 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.32, allocations: 384 / 0.9525 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.3203, allocations: 80.2 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3203, allocations: 4.188 kB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3203, allocations: 3.938 kB / 0.9526 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3203, allocations: 0 / 0.9526 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.3206, allocations: 63.92 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.3211, allocations: 265 kB / 0.9529 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3214, allocations: 58.42 kB / 0.9529 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3215, allocations: 40.91 kB / 0.953 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3215, allocations: 0 / 0.953 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.3217, allocations: 38.56 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.3217, allocations: 0 / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005451/0.3222, allocations: 129.5 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3223, allocations: 51.41 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3224, allocations: 114 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3224, allocations: 29.7 kB / 0.9533 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.3225, allocations: 84.14 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3225, allocations: 11.84 kB / 0.9534 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3226, allocations: 13.72 kB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.3228, allocations: 318.8 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3229, allocations: 31.97 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3231, allocations: 35.95 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.3234, allocations: 65.08 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3234, allocations: 3.938 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003295/0.3237, allocations: 109.5 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3238, allocations: 6.656 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3238, allocations: 0 / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3238, allocations: 0 / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.3239, allocations: 19.92 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3239, allocations: 4.062 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.324, allocations: 11.98 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3241, allocations: 4 kB / 0.954 GB, free: 4.805 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.865e-05/0.3241, allocations: 117.8 kB / 0.9541 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.3242, allocations: 3.984 kB / 0.9541 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.3242, allocations: 7.906 kB / 0.9541 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3242, allocations: 4 kB / 0.9541 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3242, allocations: 0 / 0.9541 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3242, allocations: 3.938 kB / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.3244, allocations: 173.5 kB / 0.9543 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3244, allocations: 0 / 0.9543 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.3245, allocations: 15.97 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3245, allocations: 8 kB / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3246, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3246, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3246, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.325, allocations: 191.4 kB / 0.9545 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.3251, allocations: 85.05 kB / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3251, allocations: 11.98 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3252, allocations: 7.984 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.3253, allocations: 4 kB / 0.9546 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3253, allocations: 0 / 0.9546 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001696/0.3255, allocations: 95.25 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3255, allocations: 0 / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002204/0.3257, allocations: 4 kB / 0.9547 GB, free: 3.988 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.0001816/0.3259, allocations: 103.2 kB / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.3263, allocations: 71.92 kB / 0.9549 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3263, allocations: 3.938 kB / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3266, allocations: 43.89 kB / 0.9549 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3269, allocations: 11.94 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.3273, allocations: 151.2 kB / 0.9551 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3277, allocations: 0.6844 MB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.3278, allocations: 11.44 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.3278, allocations: 4 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of Templates: time 0.002229/0.33, allocations: 0.7399 MB / 0.9565 GB, free: 2.109 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