Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.457/2.457, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.000954, allocations: 88 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.146e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3352, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.465, allocations: 149.9 MB / 1.365 GB, free: 4.195 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.465, allocations: 78.06 kB / 1.365 GB, free: 4.152 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004724/1.47, allocations: 1.432 MB / 1.367 GB, free: 2.887 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.114e-06/1.47, allocations: 4 kB / 1.367 GB, free: 2.883 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.47, allocations: 0 / 1.367 GB, free: 2.883 MB / 0.823 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.0005967/1.47, allocations: 385.8 kB / 1.367 GB, free: 2.469 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/1.47, allocations: 12.03 kB / 1.367 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/1.471, allocations: 7.906 kB / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/1.471, allocations: 171 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/1.471, allocations: 6.438 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/1.471, allocations: 0 / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/1.471, allocations: 87.78 kB / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.471, allocations: 0 / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/1.471, allocations: 0 / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.471, allocations: 4 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/1.471, allocations: 52.42 kB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/1.472, allocations: 343.3 kB / 1.368 GB, free: 1.773 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/1.472, allocations: 91.36 kB / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/1.472, allocations: 45.27 kB / 1.368 GB, free: 1.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/1.472, allocations: 0 / 1.368 GB, free: 1.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/1.473, allocations: 31.44 kB / 1.368 GB, free: 1.621 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/1.473, allocations: 0 / 1.368 GB, free: 1.621 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002957/1.473, allocations: 95.86 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.473, allocations: 59.34 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/1.473, allocations: 112 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/1.473, allocations: 29.7 kB / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/1.473, allocations: 93.78 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/1.473, allocations: 22.7 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/1.473, allocations: 2.938 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.473, allocations: 321.8 kB / 1.368 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/1.473, allocations: 22.25 kB / 1.369 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/1.474, allocations: 21.38 kB / 1.369 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/1.474, allocations: 18.36 kB / 1.369 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.474, allocations: 4 kB / 1.369 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001651/1.474, allocations: 94.52 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.474, allocations: 4 kB / 1.369 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.474, allocations: 0 / 1.369 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/1.474, allocations: 7.953 kB / 1.369 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/1.474, allocations: 31.97 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.474, allocations: 0 / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/1.474, allocations: 15.98 kB / 1.369 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/1.474, allocations: 5.938 kB / 1.369 GB, free: 0.7109 MB / 0.823 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 (add1.u1,add1.u2,add1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/1.474, allocations: 105 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/1.474, allocations: 19.81 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/1.474, allocations: 10.69 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.474, allocations: 4 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.474, allocations: 3.953 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.474, allocations: 4 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/1.475, allocations: 197.3 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.475, allocations: 0 / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/1.475, allocations: 27.97 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.475, allocations: 7.938 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.475, allocations: 3.125 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.475, allocations: 4 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.475, allocations: 0 / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/1.475, allocations: 186.9 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/1.475, allocations: 81.02 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/1.475, allocations: 4 kB / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/1.475, allocations: 24.02 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/1.476, allocations: 18.86 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/1.476, allocations: 4 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.109e-05/1.476, allocations: 100.6 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.476, allocations: 0 / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002172/1.476, allocations: 15.98 kB / 1.369 GB, free: 15.87 MB / 0.8386 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.u1,add1.u2,add1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/1.476, allocations: 110.9 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001679/1.476, allocations: 49.86 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.476, allocations: 7.938 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/1.476, allocations: 41.25 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/1.477, allocations: 8.797 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/1.477, allocations: 115.7 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/1.477, allocations: 0.6965 MB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.733e-05/1.477, allocations: 8.188 kB / 1.37 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/1.477, allocations: 19.42 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.477, allocations: 3.938 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.003989/1.481, allocations: 1.308 MB / 1.372 GB, free: 13.51 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches