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.001356/0.001356, 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.00147/0.00147, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.612/1.612, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.903/2.903, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8334, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002329/0.8358, allocations: 0.8396 MB / 1.017 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.837, allocations: 0.8623 MB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.837, allocations: 0 / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.696e-05/0.8371, allocations: 7.984 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.788e-05/0.8372, allocations: 7.922 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.8374, allocations: 31.97 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.8375, allocations: 79.83 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.8376, allocations: 39.8 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.8377, allocations: 31.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.8378, allocations: 43.81 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.8379, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.095e-05/0.8379, allocations: 8 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.8379, allocations: 23.84 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.838, allocations: 31.8 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.8381, allocations: 79.72 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.8381, allocations: 8 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8382, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5e-06/0.8382, allocations: 0 / 1.019 GB, free: 0.668 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.0007301/0.8389, allocations: 385.3 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.839, allocations: 12.02 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.839, allocations: 12.78 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.8392, allocations: 176.2 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.8392, allocations: 8.375 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.8393, allocations: 8.422 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.8396, allocations: 109.6 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8396, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.8397, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.8397, allocations: 4 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.8401, allocations: 107.9 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.8408, allocations: 340.6 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.8415, allocations: 122.5 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.8417, allocations: 60.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.8417, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.8418, allocations: 34.55 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.8418, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007455/0.8425, allocations: 185.4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.8426, allocations: 55.34 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.8427, allocations: 125.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.8428, allocations: 25.7 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.8429, allocations: 96.03 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.8429, allocations: 23.75 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.843, allocations: 21.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.8432, allocations: 322.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.8434, allocations: 43.95 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.8436, allocations: 43.95 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.8439, allocations: 100.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8439, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004599/0.8444, allocations: 145.9 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.8444, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8445, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8445, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.8447, allocations: 23.97 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.8447, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.8448, allocations: 19.92 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.8448, allocations: 80 / 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.000146/0.845, allocations: 114.4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.845, allocations: 19.88 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.8451, allocations: 8.375 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8451, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8451, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.8451, allocations: 7.938 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.8454, allocations: 193.6 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8454, allocations: 3.938 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.8456, allocations: 31.91 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8456, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.8456, allocations: 7.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8456, allocations: 7.984 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8456, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.8461, allocations: 235.3 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.8462, allocations: 81.02 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.8462, allocations: 12 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.8464, allocations: 15.97 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.8465, allocations: 19.97 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.8465, allocations: 11.94 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.047e-05/0.8466, allocations: 91.7 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.178e-06/0.8466, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000235/0.8468, allocations: 19.88 kB / 1.022 GB, free: 12.91 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.0001567/0.847, allocations: 103.2 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.8474, allocations: 103.9 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8474, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.8477, allocations: 63.89 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.848, allocations: 8 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.8486, allocations: 188 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.8491, allocations: 0.6965 MB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.133e-05/0.8492, allocations: 11.98 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.8492, allocations: 15.44 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.8493, allocations: 0 / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.00455/0.8538, allocations: 1.343 MB / 1.025 GB, free: 10.33 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=400 -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