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.001071/0.001071, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009963/0.009964, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.47/2.47, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005273, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8345, allocations: 142.4 MB / 0.955 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0011/0.8357, allocations: 0.4901 MB / 0.9555 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8369, allocations: 0.8643 MB / 0.9564 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.837, allocations: 1.25 kB / 0.9564 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.837, allocations: 7.922 kB / 0.9564 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.8372, allocations: 5.094 kB / 0.9564 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.8374, allocations: 35.16 kB / 0.9564 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.8375, allocations: 86.03 kB / 0.9565 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.8376, allocations: 24.7 kB / 0.9565 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.8377, allocations: 24.61 kB / 0.9565 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.8379, allocations: 47.91 kB / 0.9566 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.8379, allocations: 3.625 kB / 0.9566 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.764e-05/0.8379, allocations: 3.719 kB / 0.9566 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.8379, allocations: 10.3 kB / 0.9566 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.838, allocations: 59.75 kB / 0.9567 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.8381, allocations: 82.22 kB / 0.9567 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8381, allocations: 0 / 0.9567 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8381, allocations: 1.344 kB / 0.9567 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8382, allocations: 0 / 0.9567 GB, free: 6.582 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.0006287/0.8388, allocations: 389.7 kB / 0.9571 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.8388, allocations: 13.16 kB / 0.9571 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.8389, allocations: 8.531 kB / 0.9571 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.8391, allocations: 181.7 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.8391, allocations: 7 kB / 0.9573 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.8391, allocations: 7.125 kB / 0.9573 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.8394, allocations: 118.7 kB / 0.9574 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8395, allocations: 3.938 kB / 0.9574 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8395, allocations: 1.094 kB / 0.9574 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.8395, allocations: 1.156 kB / 0.9574 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.8399, allocations: 119.1 kB / 0.9576 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.8404, allocations: 343.8 kB / 0.9579 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.8411, allocations: 136 kB / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.8413, allocations: 75.33 kB / 0.9581 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.8414, allocations: 1.062 kB / 0.9581 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.8414, allocations: 31.75 kB / 0.9581 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.8414, allocations: 0 / 0.9581 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007463/0.8421, allocations: 221.3 kB / 0.9583 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.8422, allocations: 56.81 kB / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.8423, allocations: 120.7 kB / 0.9585 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.8423, allocations: 31.77 kB / 0.9585 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.8423, allocations: 94.94 kB / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.8424, allocations: 21.61 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.8424, allocations: 15.66 kB / 0.9587 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.8425, allocations: 320.7 kB / 0.959 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.8427, allocations: 57.62 kB / 0.959 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.8429, allocations: 58.83 kB / 0.9591 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.8432, allocations: 121 kB / 0.9592 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8433, allocations: 1.188 kB / 0.9592 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004361/0.8437, allocations: 162.7 kB / 0.9593 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.8437, allocations: 5.5 kB / 0.9593 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8437, allocations: 0 / 0.9593 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8438, allocations: 5.375 kB / 0.9594 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.8439, allocations: 36.53 kB / 0.9594 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.844, allocations: 0 / 0.9594 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.8441, allocations: 20.3 kB / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.8441, allocations: 3.297 kB / 0.9594 GB, free: 4.332 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 8.363e-05/0.8442, allocations: 120.6 kB / 0.9595 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.8443, allocations: 12.03 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.8443, allocations: 9.75 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.8443, allocations: 0 / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.8443, allocations: 1.375 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.8443, allocations: 3.938 kB / 0.9596 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.8445, allocations: 199.5 kB / 0.9597 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8445, allocations: 1.375 kB / 0.9597 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.8447, allocations: 32.53 kB / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8447, allocations: 4 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.8447, allocations: 1.375 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.8447, allocations: 0 / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8447, allocations: 1.375 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.8452, allocations: 263 kB / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.8452, allocations: 82.39 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.8453, allocations: 5.359 kB / 0.9601 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.8454, allocations: 18.98 kB / 0.9601 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.8455, allocations: 22.84 kB / 0.9602 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.8455, allocations: 6.688 kB / 0.9602 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.8456, allocations: 92.89 kB / 0.9603 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8456, allocations: 0 / 0.9603 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002427/0.8458, allocations: 20.31 kB / 0.9603 GB, free: 3.531 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.0001294/0.846, allocations: 99.69 kB / 0.9604 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.8464, allocations: 132.8 kB / 0.9605 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8465, allocations: 5.375 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.8467, allocations: 67.73 kB / 0.9606 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.847, allocations: 9.438 kB / 0.9606 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.8475, allocations: 202.3 kB / 0.9608 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.8477, allocations: 0.6911 MB / 0.9614 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.604e-05/0.8477, allocations: 10.19 kB / 0.9614 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.8478, allocations: 16.92 kB / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of SimCode: time 9.01e-07/0.8478, allocations: 0 / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of Templates: time 0.004702/0.8525, allocations: 1.344 MB / 0.9628 GB, free: 1.77 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