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.001387/0.001388, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001504/0.001504, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 65.72 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3031, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.002427/0.3056, allocations: 0.6996 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3066, allocations: 0.8079 MB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.3067, allocations: 0 / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.3067, allocations: 3.938 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.704e-05/0.3068, allocations: 11.92 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.992e-05/0.3069, allocations: 19.92 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.879e-05/0.307, allocations: 39.91 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3071, allocations: 8 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.3072, allocations: 19.86 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.3073, allocations: 23.92 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3073, allocations: 4 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.3073, allocations: 4 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.3074, allocations: 11.92 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.3074, allocations: 15.94 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3075, allocations: 43.86 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3075, allocations: 3.984 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.639e-06/0.3075, allocations: 0 / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3075, allocations: 3.938 kB / 0.9528 GB, free: 6.309 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.0005306/0.3081, allocations: 363.3 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3081, allocations: 8.031 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.3081, allocations: 4.938 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3083, allocations: 172.2 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3083, allocations: 8.359 kB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3083, allocations: 384 / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3086, allocations: 76.25 kB / 0.9534 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3086, allocations: 4.188 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3086, allocations: 3.938 kB / 0.9534 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3086, allocations: 0 / 0.9534 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.3089, allocations: 67.92 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.3092, allocations: 261 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3095, allocations: 62.42 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.3096, allocations: 40.91 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.3096, allocations: 0 / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.3097, allocations: 34.56 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3097, allocations: 0 / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004946/0.3102, allocations: 129.5 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3102, allocations: 51.41 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.3103, allocations: 105.8 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3103, allocations: 33.7 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.3104, allocations: 88.06 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.3104, allocations: 7.906 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.3104, allocations: 13.72 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3106, allocations: 322.8 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3107, allocations: 31.97 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3108, allocations: 27.97 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.3111, allocations: 72.78 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3111, allocations: 3.938 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002926/0.3114, allocations: 101.5 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3114, allocations: 6.031 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3114, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3114, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3116, allocations: 27.91 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3116, allocations: 0 / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.3116, allocations: 15.92 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3117, allocations: 0 / 0.9549 GB, free: 3.984 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 7.835e-05/0.3117, allocations: 115.8 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.3118, allocations: 4 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.3118, allocations: 7.891 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3118, allocations: 0 / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3118, allocations: 4 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3118, allocations: 4.328 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.312, allocations: 173.5 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.312, allocations: 4 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.3121, allocations: 15.98 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3121, allocations: 0 / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.3121, allocations: 3.984 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3121, allocations: 7.984 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3121, allocations: 0 / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.3125, allocations: 199.4 kB / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3125, allocations: 81.05 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3125, allocations: 0 / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3126, allocations: 11.98 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3127, allocations: 7.984 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3127, allocations: 8 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.3127, allocations: 83.27 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3127, allocations: 0 / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000216/0.313, allocations: 12 kB / 0.9556 GB, free: 3.16 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.0001445/0.3131, allocations: 99.25 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.3135, allocations: 67.92 kB / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3135, allocations: 0 / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.3136, allocations: 39.91 kB / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.3139, allocations: 7.922 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.3142, allocations: 125.5 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3145, allocations: 0.6883 MB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.3145, allocations: 0 / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.3145, allocations: 15.38 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3145, allocations: 0 / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.002789/0.3173, allocations: 0.672 MB / 0.9572 GB, free: 1.398 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 -s gbode -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