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.01053/0.01053, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001772/0.001772, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.323/2.323, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002717/1.145, allocations: 0.7705 MB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001624/1.147, allocations: 0.8657 MB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.236e-05/1.147, allocations: 1.375 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.9e-05/1.147, allocations: 5.203 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/1.147, allocations: 11.14 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/1.148, allocations: 46.23 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/1.148, allocations: 82.28 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/1.148, allocations: 30.12 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/1.148, allocations: 36.84 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/1.148, allocations: 48.62 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/1.148, allocations: 7.688 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/1.149, allocations: 8.688 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/1.149, allocations: 23.73 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/1.149, allocations: 34.09 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/1.149, allocations: 87.3 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/1.149, allocations: 0.5156 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/1.149, allocations: 0 / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.149, allocations: 4.906 kB / 1.09 GB, free: 4.156 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.0008201/1.15, allocations: 388.4 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.15, allocations: 9.188 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/1.15, allocations: 12.94 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/1.15, allocations: 194.9 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/1.15, allocations: 3.375 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/1.15, allocations: 8.438 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/1.151, allocations: 109.4 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.151, allocations: 0 / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/1.151, allocations: 0.9688 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/1.151, allocations: 5.047 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/1.151, allocations: 98.16 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/1.152, allocations: 344.1 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/1.152, allocations: 119 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/1.153, allocations: 62.44 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/1.153, allocations: 1.031 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/1.153, allocations: 40.03 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/1.153, allocations: 0 / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000792/1.154, allocations: 182.6 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.154, allocations: 52.19 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/1.154, allocations: 124 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/1.154, allocations: 26.27 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/1.154, allocations: 97.83 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/1.154, allocations: 15.72 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/1.154, allocations: 27.38 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/1.154, allocations: 314.7 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/1.154, allocations: 48.44 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/1.154, allocations: 56.56 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/1.155, allocations: 95.8 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.155, allocations: 4.781 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004459/1.155, allocations: 138.3 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.155, allocations: 5.375 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.155, allocations: 0 / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.155, allocations: 1.422 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/1.156, allocations: 24.28 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/1.156, allocations: 0 / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/1.156, allocations: 25.08 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/1.156, allocations: 3.391 kB / 1.092 GB, free: 2.199 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 0.0001/1.156, allocations: 117.7 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/1.156, allocations: 7.031 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/1.156, allocations: 10.66 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/1.156, allocations: 0.9688 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.156, allocations: 1.547 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.156, allocations: 4.688 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/1.156, allocations: 197.7 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.156, allocations: 1.891 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/1.156, allocations: 26.72 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.156, allocations: 1.672 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/1.156, allocations: 1.828 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.156, allocations: 5 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.156, allocations: 0.6094 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/1.157, allocations: 246.4 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/1.157, allocations: 83.88 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/1.157, allocations: 1.516 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/1.157, allocations: 16.56 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.157, allocations: 19.84 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/1.157, allocations: 8.531 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.266e-05/1.157, allocations: 95.97 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.157, allocations: 0 / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002425/1.158, allocations: 16.34 kB / 1.093 GB, free: 1.477 MB / 0.8575 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.0001522/1.158, allocations: 105.8 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004604/1.158, allocations: 108.8 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.158, allocations: 0 / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/1.158, allocations: 60.75 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/1.159, allocations: 13.03 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/1.159, allocations: 170.2 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/1.16, allocations: 0.6976 MB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.077e-05/1.16, allocations: 11.97 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/1.16, allocations: 25.53 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/1.16, allocations: 0 / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of Templates: time 0.005212/1.165, allocations: 1.58 MB / 1.096 GB, free: 364 kB / 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/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