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.001593/0.001593, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001818/0.001819, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.449/1.449, 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.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.89 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9533/0.9547, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001955/0.9567, allocations: 0.7722 MB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.9578, allocations: 0.8704 MB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.9578, allocations: 1.094 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.9579, allocations: 9.234 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.958, allocations: 6.266 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.9582, allocations: 45.41 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.9583, allocations: 83.97 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.9585, allocations: 26.05 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.9586, allocations: 42.92 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.9587, allocations: 45.33 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.9587, allocations: 7.969 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.9587, allocations: 8.406 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.9588, allocations: 24.03 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.9588, allocations: 34.86 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.959, allocations: 86.55 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.959, allocations: 0 / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.384e-06/0.959, allocations: 1.859 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.959, allocations: 4 kB / 1.091 GB, free: 4.168 MB / 0.8575 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.0006106/0.9596, allocations: 383.8 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9597, allocations: 13.56 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.9597, allocations: 8.312 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.9598, allocations: 186.7 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.9599, allocations: 4 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.9599, allocations: 4.312 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.9602, allocations: 111 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9603, allocations: 0.875 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.9603, allocations: 4 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9603, allocations: 1.656 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.9607, allocations: 93.89 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.9612, allocations: 353.2 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.9618, allocations: 121.6 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.962, allocations: 58.27 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.9621, allocations: 5.156 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.9621, allocations: 36.19 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.9621, allocations: 0.9688 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006885/0.9628, allocations: 185 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.9628, allocations: 53.33 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.9629, allocations: 119.9 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.9629, allocations: 26.55 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.963, allocations: 96.77 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.963, allocations: 17.36 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.9631, allocations: 21.84 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.9631, allocations: 327.2 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.9633, allocations: 51.92 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.9635, allocations: 44.7 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.9639, allocations: 103.5 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9639, allocations: 4.656 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004281/0.9643, allocations: 138.8 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9643, allocations: 5.844 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9644, allocations: 0 / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9644, allocations: 1.344 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.9646, allocations: 28.36 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.9646, allocations: 4.828 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.9647, allocations: 15.61 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.9647, allocations: 12.39 kB / 1.093 GB, free: 2.207 MB / 0.8575 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.587e-05/0.9648, allocations: 113.2 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.9648, allocations: 7.422 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.9649, allocations: 11.2 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9649, allocations: 0.6094 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9649, allocations: 0.9062 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.9649, allocations: 91.31 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.9649, allocations: 1.578 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.9651, allocations: 12.08 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.9652, allocations: 20.77 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005246/0.9657, allocations: 228.3 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004619/0.9662, allocations: 317 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002248/0.9664, allocations: 61.77 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.9665, allocations: 96.94 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of Backend: time 2.91e-07/0.9665, allocations: 0 / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005568/0.967, allocations: 133.4 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005005/0.9676, allocations: 0.61 MB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of Templates: time 0.00527/0.9728, allocations: 1.743 MB / 1.097 GB, free: 0.6836 MB / 0.8575 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/jenkins1/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