Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") 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: 114.3 kB / 16.37 MB, free: 5.539 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.001863/0.001863, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.13 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.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 68.97 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.333, allocations: 140.4 MB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002207/0.3353, allocations: 0.7074 MB / 0.9518 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.3363, allocations: 0.804 MB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.3363, allocations: 0 / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.3364, allocations: 3.938 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.3365, allocations: 11.94 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.224e-05/0.3365, allocations: 11.98 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.3366, allocations: 43.84 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3368, allocations: 11.98 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.3369, allocations: 15.98 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.3369, allocations: 27.84 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.337, allocations: 4 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.337, allocations: 4 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.337, allocations: 4 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.337, allocations: 23.86 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.332e-05/0.3371, allocations: 43.81 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3371, allocations: 0 / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3372, allocations: 0 / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3372, allocations: 0 / 0.9528 GB, free: 6.262 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.0005861/0.3378, allocations: 363.3 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3378, allocations: 12.03 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.3379, allocations: 0.9375 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.338, allocations: 184.2 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.338, allocations: 384 / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3381, allocations: 384 / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3383, allocations: 72.33 kB / 0.9534 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3384, allocations: 192 / 0.9534 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3384, allocations: 3.938 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3384, allocations: 0 / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.3387, allocations: 71.86 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.339, allocations: 261 kB / 0.9537 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3392, allocations: 58.48 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3394, allocations: 44.91 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.3394, allocations: 0 / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3395, allocations: 38.5 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3395, allocations: 0 / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000503/0.34, allocations: 133.5 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.34, allocations: 51.41 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.3401, allocations: 109.8 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3401, allocations: 29.64 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.3402, allocations: 88.14 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.3402, allocations: 3.906 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.3403, allocations: 21.64 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3404, allocations: 318.8 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3405, allocations: 31.97 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3406, allocations: 31.95 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.3409, allocations: 76.72 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3409, allocations: 3.938 kB / 0.9547 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002896/0.3412, allocations: 97.53 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3413, allocations: 6.031 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3413, allocations: 0 / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3413, allocations: 0 / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3414, allocations: 16.31 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3414, allocations: 4 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.3415, allocations: 11.98 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3415, allocations: 0 / 0.9549 GB, free: 3.938 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.955e-05/0.3416, allocations: 123.7 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3416, allocations: 4 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.3417, allocations: 7.891 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3417, allocations: 0 / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3417, allocations: 4 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3417, allocations: 4 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3419, allocations: 173.5 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3419, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.342, allocations: 19.97 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.342, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.342, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.342, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.342, allocations: 4 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.3424, allocations: 195.4 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.3424, allocations: 85.03 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3424, allocations: 0 / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.3425, allocations: 11.98 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.3426, allocations: 7.938 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3426, allocations: 8 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.3427, allocations: 87.58 kB / 0.9556 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3427, allocations: 0 / 0.9556 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000219/0.3429, allocations: 8 kB / 0.9556 GB, free: 3.113 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.0001566/0.343, allocations: 99.19 kB / 0.9557 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.3434, allocations: 71.92 kB / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3434, allocations: 0 / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3435, allocations: 39.89 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3438, allocations: 12.17 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.3442, allocations: 129.5 kB / 0.9559 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3445, allocations: 0.6883 MB / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.3445, allocations: 0 / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.3445, allocations: 11.44 kB / 0.9566 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.3446, allocations: 0 / 0.9566 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of Templates: time 0.00306/0.3476, allocations: 0.6717 MB / 0.9573 GB, free: 1.344 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches