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.001473/0.001473, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.535/2.535, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.14 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8275, allocations: 140.4 MB / 0.9496 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002814/0.8304, allocations: 0.7735 MB / 0.9503 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.8316, allocations: 0.8641 MB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.8317, allocations: 1 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.8317, allocations: 7.875 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.8319, allocations: 9.594 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.8321, allocations: 42.47 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.8322, allocations: 86.23 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.8324, allocations: 27.3 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.8325, allocations: 37.23 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.8326, allocations: 48.42 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.8326, allocations: 8.062 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.8326, allocations: 6.812 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.8327, allocations: 22.72 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.8327, allocations: 38.67 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.8329, allocations: 86.78 kB / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.8329, allocations: 1.375 kB / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8329, allocations: 0 / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.8329, allocations: 0 / 0.9516 GB, free: 7.668 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.0006495/0.8335, allocations: 392.7 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8336, allocations: 9.938 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.8336, allocations: 9.25 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.8338, allocations: 188.4 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.8338, allocations: 6.594 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.8338, allocations: 4.531 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.8341, allocations: 105.2 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.8342, allocations: 0 / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.8342, allocations: 4 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.8342, allocations: 1.375 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.8346, allocations: 100.1 kB / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.8351, allocations: 346.8 kB / 0.9527 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.8357, allocations: 127.2 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.8359, allocations: 57.75 kB / 0.9529 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.8359, allocations: 0 / 0.9529 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.836, allocations: 40.08 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.836, allocations: 4 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006593/0.8366, allocations: 176.6 kB / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.8367, allocations: 55.41 kB / 0.9531 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.8367, allocations: 126 kB / 0.9533 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.8368, allocations: 29.7 kB / 0.9533 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.8368, allocations: 99.39 kB / 0.9534 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.8368, allocations: 23.16 kB / 0.9534 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.8369, allocations: 22.92 kB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.8369, allocations: 325.5 kB / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.8371, allocations: 43.02 kB / 0.9538 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.8373, allocations: 49.27 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.8377, allocations: 93.31 kB / 0.9539 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8377, allocations: 1.438 kB / 0.9539 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004006/0.8381, allocations: 139.2 kB / 0.9541 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8381, allocations: 5 kB / 0.9541 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8381, allocations: 3.938 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.8381, allocations: 1.125 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.8383, allocations: 28.94 kB / 0.9541 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8383, allocations: 0 / 0.9541 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.8385, allocations: 15.52 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.8385, allocations: 5.172 kB / 0.9541 GB, free: 5.422 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 9.024e-05/0.8386, allocations: 118.3 kB / 0.9542 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.8386, allocations: 10.09 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.8387, allocations: 14.97 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.8387, allocations: 0 / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8387, allocations: 1.438 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8387, allocations: 3.938 kB / 0.9543 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.8389, allocations: 199.9 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8389, allocations: 0 / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.8391, allocations: 24.03 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8391, allocations: 4 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.8391, allocations: 1.469 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.8391, allocations: 5.391 kB / 0.9545 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8391, allocations: 0 / 0.9545 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.8396, allocations: 234.9 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.8396, allocations: 88 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.8396, allocations: 0 / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.8398, allocations: 11.39 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.8399, allocations: 22.22 kB / 0.9548 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.8399, allocations: 10.38 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.8399, allocations: 92.83 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8399, allocations: 1.125 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002435/0.8402, allocations: 23.03 kB / 0.9549 GB, free: 4.625 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.000163/0.8404, allocations: 100.3 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.8408, allocations: 119.6 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8408, allocations: 0 / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.8411, allocations: 62.17 kB / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.8414, allocations: 16.89 kB / 0.9552 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.8419, allocations: 166.9 kB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.8421, allocations: 0.6974 MB / 0.9561 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.313e-05/0.8422, allocations: 10.45 kB / 0.9561 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.8422, allocations: 18.22 kB / 0.9561 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.8422, allocations: 1.25 kB / 0.9561 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of Templates: time 0.004386/0.8466, allocations: 1.578 MB / 0.9576 GB, free: 2.766 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