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.001563/0.001562, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001696/0.001696, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.233/2.233, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 68.95 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2516, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001936/0.2536, allocations: 0.7764 MB / 0.951 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009245/0.2545, allocations: 0.8605 MB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.2546, allocations: 8 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.2546, allocations: 7.875 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.2547, allocations: 7.922 kB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.2549, allocations: 47.88 kB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.255, allocations: 75.84 kB / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2551, allocations: 31.91 kB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.2552, allocations: 39.84 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.2553, allocations: 47.83 kB / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.2553, allocations: 8 kB / 0.9521 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.2553, allocations: 8 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.2553, allocations: 19.97 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.2554, allocations: 35.8 kB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2555, allocations: 83.72 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2555, allocations: 0 / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2555, allocations: 0 / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2555, allocations: 4 kB / 0.9523 GB, free: 6.812 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006026/0.2562, allocations: 395.4 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2562, allocations: 11.97 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.2562, allocations: 8.844 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2564, allocations: 188.1 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2564, allocations: 4.375 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2564, allocations: 4.375 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.2567, allocations: 109.7 kB / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2567, allocations: 0 / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2568, allocations: 0 / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2568, allocations: 4 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.2572, allocations: 95.84 kB / 0.9531 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.2577, allocations: 352.6 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.2583, allocations: 118.6 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.2585, allocations: 60.81 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2585, allocations: 0 / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2586, allocations: 38.5 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2586, allocations: 0 / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006607/0.2592, allocations: 185.4 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.2593, allocations: 55.41 kB / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2594, allocations: 125.8 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2594, allocations: 25.7 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.2595, allocations: 96 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2595, allocations: 19.73 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2596, allocations: 21.72 kB / 0.9541 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2597, allocations: 326.8 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.2599, allocations: 43.95 kB / 0.9545 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.26, allocations: 43.95 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.2604, allocations: 112.6 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2604, allocations: 0 / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004085/0.2608, allocations: 133.5 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2608, allocations: 8 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2609, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2609, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.261, allocations: 27.97 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2611, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2612, allocations: 19.91 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2612, allocations: 4 kB / 0.9548 GB, free: 4.004 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: 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 7.833e-05/0.2613, allocations: 117.8 kB / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.2613, allocations: 7.906 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.2614, allocations: 8.375 kB / 0.9549 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2614, allocations: 7.984 kB / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2614, allocations: 4 kB / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2614, allocations: 3.938 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.2616, allocations: 197.6 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2616, allocations: 4 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.2618, allocations: 23.97 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2618, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2618, allocations: 3.984 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2618, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2618, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.2623, allocations: 247.2 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.2623, allocations: 85.02 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2623, allocations: 7.938 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.2625, allocations: 11.98 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.2626, allocations: 23.97 kB / 0.9555 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2626, allocations: 7.938 kB / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.2626, allocations: 95.27 kB / 0.9556 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2626, allocations: 0 / 0.9556 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002293/0.2629, allocations: 16 kB / 0.9556 GB, free: 3.055 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: 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.0001042/0.263, allocations: 95.25 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.2634, allocations: 116.4 kB / 0.9558 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2634, allocations: 0 / 0.9558 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.2636, allocations: 55.95 kB / 0.9559 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.2639, allocations: 13.86 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.2644, allocations: 192.3 kB / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.2647, allocations: 0.6961 MB / 0.9568 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.2647, allocations: 23.42 kB / 0.9568 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2647, allocations: 0 / 0.9568 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of Templates: time 0.002625/0.2674, allocations: 1.24 MB / 0.958 GB, free: 0.5625 MB / 0.7325 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