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.001154/0.001154, allocations: 118.7 kB / 16.37 MB, free: 5.984 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.001127/0.001127, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.461/1.461, 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.398/2.398, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 64.42 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4214, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.002073/0.4235, allocations: 0.7022 MB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.4245, allocations: 0.804 MB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.4246, allocations: 0 / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.4246, allocations: 7.938 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.908e-05/0.4247, allocations: 3.938 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.045e-05/0.4247, allocations: 7.984 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.4248, allocations: 51.78 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.425, allocations: 12 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.4251, allocations: 15.98 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.4251, allocations: 27.83 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4252, allocations: 7.938 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.4252, allocations: 4 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.4252, allocations: 4 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.4252, allocations: 19.92 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.4253, allocations: 43.81 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4253, allocations: 0 / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4254, allocations: 4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.4254, allocations: 4 kB / 0.9528 GB, free: 6.297 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.0005578/0.4259, allocations: 359.3 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.426, allocations: 8.031 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.426, allocations: 0.9375 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4262, allocations: 180.2 kB / 0.9533 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4262, allocations: 384 / 0.9533 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.4262, allocations: 12.38 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.4264, allocations: 64.33 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.4264, allocations: 192 / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4265, allocations: 7.938 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.4265, allocations: 4 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.4267, allocations: 63.92 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.4272, allocations: 269 kB / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.4274, allocations: 58.52 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.4275, allocations: 40.81 kB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.4275, allocations: 4 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.4276, allocations: 30.56 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4276, allocations: 0 / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004903/0.4281, allocations: 133.4 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.4281, allocations: 59.41 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.4283, allocations: 113.8 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4283, allocations: 25.7 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.4284, allocations: 88.14 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.4284, allocations: 3.906 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.4284, allocations: 13.72 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4286, allocations: 318.8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4288, allocations: 35.91 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.4289, allocations: 35.95 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.4292, allocations: 60.8 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4292, allocations: 3.938 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002794/0.4295, allocations: 109.7 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4295, allocations: 8 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4295, allocations: 48 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4295, allocations: 3.984 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4297, allocations: 11.98 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4297, allocations: 7.938 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.4297, allocations: 11.98 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.4298, allocations: 0 / 0.9549 GB, free: 3.969 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 0.0001096/0.4299, allocations: 123.7 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.4299, allocations: 4 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.4299, allocations: 3.906 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4299, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.43, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.43, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.4302, allocations: 173.5 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4302, allocations: 4 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.4303, allocations: 19.97 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4303, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4303, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4303, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4303, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.4307, allocations: 199.4 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.4307, allocations: 89.03 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4307, allocations: 0 / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4308, allocations: 15.98 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.4309, allocations: 4 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.4309, allocations: 0 / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.431, allocations: 91.27 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.431, allocations: 4 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002134/0.4312, allocations: 8 kB / 0.9556 GB, free: 3.148 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.0001939/0.4314, allocations: 95.25 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.4317, allocations: 71.86 kB / 0.9557 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4318, allocations: 3.938 kB / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.4319, allocations: 39.95 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.4322, allocations: 11.94 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.4326, allocations: 121.5 kB / 0.9559 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.4329, allocations: 0.6883 MB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.433, allocations: 4 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.433, allocations: 7.438 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.433, allocations: 0 / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.002848/0.4359, allocations: 0.6791 MB / 0.9573 GB, free: 1.379 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 cvode -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