Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001828/0.001828, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.471/2.471, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.747/0.7485, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00214/0.7507, allocations: 0.8433 MB / 0.9499 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.7517, allocations: 0.8604 MB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.7518, allocations: 1.375 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.7518, allocations: 0 / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.7519, allocations: 13.31 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.7521, allocations: 38.77 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.7522, allocations: 83.58 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.7524, allocations: 21.61 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.7525, allocations: 41.66 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.7526, allocations: 48.14 kB / 0.951 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.7526, allocations: 8.25 kB / 0.951 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.981e-05/0.7526, allocations: 8.25 kB / 0.951 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.7527, allocations: 26.64 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.7527, allocations: 37.3 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.7528, allocations: 78.94 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7528, allocations: 1.062 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7528, allocations: 0 / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.7529, allocations: 0 / 0.9512 GB, free: 7.461 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005926/0.7535, allocations: 401.4 kB / 0.9515 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.7535, allocations: 9.656 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.7536, allocations: 8.344 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.7537, allocations: 178 kB / 0.9517 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.7537, allocations: 2.969 kB / 0.9517 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.7537, allocations: 12.61 kB / 0.9517 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.754, allocations: 107.5 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.7541, allocations: 4 kB / 0.9518 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.7541, allocations: 1.562 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7541, allocations: 1.406 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.7545, allocations: 99.67 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.755, allocations: 346.8 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.7556, allocations: 122.3 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.7558, allocations: 61.06 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.7558, allocations: 1.125 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.7558, allocations: 31.91 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.7558, allocations: 0 / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006232/0.7565, allocations: 183.8 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.7565, allocations: 56.61 kB / 0.9527 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.7566, allocations: 130.1 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.7566, allocations: 25.7 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.7566, allocations: 96.08 kB / 0.953 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.7567, allocations: 22.44 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.7567, allocations: 23.33 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.7568, allocations: 320.2 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.7569, allocations: 52.06 kB / 0.9534 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.7571, allocations: 44.58 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.7574, allocations: 94.31 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7574, allocations: 4 kB / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003726/0.7578, allocations: 140.6 kB / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7578, allocations: 9.375 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.7579, allocations: 80 / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.7579, allocations: 1.094 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.758, allocations: 27.56 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7581, allocations: 7.984 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.7582, allocations: 16.23 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.7582, allocations: 2.406 kB / 0.9537 GB, free: 5.211 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.895e-05/0.7583, allocations: 116.5 kB / 0.9538 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.7583, allocations: 6.844 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.7583, allocations: 9.719 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7583, allocations: 1.312 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7584, allocations: 1.375 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.7584, allocations: 7.938 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.7585, allocations: 195.3 kB / 0.954 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7585, allocations: 0 / 0.954 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.7587, allocations: 36.62 kB / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7587, allocations: 0 / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.7587, allocations: 1.562 kB / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7587, allocations: 0 / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7587, allocations: 1.469 kB / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.7591, allocations: 238.8 kB / 0.9543 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.7592, allocations: 79.3 kB / 0.9543 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.7592, allocations: 9.047 kB / 0.9544 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.7593, allocations: 10.55 kB / 0.9544 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.7594, allocations: 18.55 kB / 0.9544 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.7594, allocations: 10.64 kB / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.7595, allocations: 96.48 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7595, allocations: 5.094 kB / 0.9545 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002365/0.7597, allocations: 23.16 kB / 0.9545 GB, free: 4.41 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001141/0.7599, allocations: 100.4 kB / 0.9546 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.7603, allocations: 111.2 kB / 0.9547 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7603, allocations: 3.938 kB / 0.9547 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.7605, allocations: 65.97 kB / 0.9548 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.7608, allocations: 12.61 kB / 0.9548 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.7613, allocations: 192.9 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7614, allocations: 0.6934 MB / 0.9557 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.515e-05/0.7615, allocations: 10.59 kB / 0.9557 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.7615, allocations: 21.77 kB / 0.9557 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7615, allocations: 0 / 0.9557 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.003606/0.7651, allocations: 1.413 MB / 0.9571 GB, free: 2.605 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches