Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001472/0.001472, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001697/0.001697, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7245, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002484/0.727, allocations: 0.8474 MB / 1.017 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.7282, allocations: 0.8584 MB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.7283, allocations: 4 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.984e-05/0.7284, allocations: 3.938 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.7285, allocations: 11.94 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.7287, allocations: 35.95 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.7288, allocations: 75.83 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.729, allocations: 35.81 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.7291, allocations: 31.91 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.7292, allocations: 51.81 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.7293, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.7293, allocations: 8 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.7293, allocations: 15.91 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.7294, allocations: 35.8 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.7296, allocations: 83.72 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.7296, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7296, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.7296, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 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.0008207/0.7304, allocations: 389.3 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.7305, allocations: 8.031 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.7306, allocations: 8.844 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.7308, allocations: 180.2 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.7308, allocations: 4.375 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.7308, allocations: 4.375 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.7312, allocations: 109.7 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7312, allocations: 4 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.7313, allocations: 3.984 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.7313, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.7317, allocations: 95.91 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.7323, allocations: 356.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.733, allocations: 118.6 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.7332, allocations: 60.81 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.7332, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.7333, allocations: 34.56 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.7333, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006568/0.734, allocations: 185.4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.734, allocations: 59.34 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.7341, allocations: 121.8 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.7341, allocations: 25.7 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.7342, allocations: 99.97 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.7342, allocations: 15.75 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.7343, allocations: 29.7 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7345, allocations: 318.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.7346, allocations: 47.95 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.7348, allocations: 51.89 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.7351, allocations: 92.78 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.7351, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003757/0.7355, allocations: 138 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7356, allocations: 8 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7356, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7356, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.7358, allocations: 23.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.7358, allocations: 8 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.7359, allocations: 27.92 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.7359, allocations: 3.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 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.0001147/0.7361, allocations: 113.8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.7361, allocations: 7.906 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.7361, allocations: 8.375 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7362, allocations: 4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.7362, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7362, allocations: 3.938 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.7364, allocations: 197.6 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7364, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.7366, allocations: 23.97 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.7366, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.7366, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7366, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7366, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.7371, allocations: 247.2 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.7371, allocations: 89 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.7372, allocations: 3.984 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.7373, allocations: 11.98 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.7374, allocations: 19.97 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.7374, allocations: 7.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.7375, allocations: 95.27 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7375, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002402/0.7377, allocations: 19.94 kB / 1.022 GB, free: 12.93 MB / 0.7794 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.0001653/0.7379, allocations: 103.2 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.7384, allocations: 107.8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7384, allocations: 4 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.7386, allocations: 55.95 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.739, allocations: 18.27 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.7395, allocations: 188 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.7398, allocations: 0.6926 MB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.916e-05/0.7399, allocations: 15.98 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.74, allocations: 19.36 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.74, allocations: 0 / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.004222/0.7442, allocations: 1.34 MB / 1.024 GB, free: 10.34 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches