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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001082/0.001082, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001032/0.001032, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.97 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3551, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00222/0.3573, allocations: 0.775 MB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3584, allocations: 0.8624 MB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.3585, allocations: 7.938 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.3585, allocations: 11.86 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.3586, allocations: 7.875 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.3588, allocations: 47.88 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3589, allocations: 83.8 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3591, allocations: 27.97 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.3592, allocations: 35.86 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.947e-05/0.3593, allocations: 51.8 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.3593, allocations: 8 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.3593, allocations: 11.94 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.3594, allocations: 23.92 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.3594, allocations: 31.8 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.3595, allocations: 83.72 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3595, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3596, allocations: 4 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.3596, allocations: 4 kB / 1.021 GB, free: 7.727 MB / 0.795 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.0006125/0.3602, allocations: 391.2 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3602, allocations: 8.922 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3603, allocations: 8.844 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3604, allocations: 188.1 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3605, allocations: 8.375 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.3605, allocations: 4.375 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.3608, allocations: 106.2 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3608, allocations: 4 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3608, allocations: 7.984 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3608, allocations: 0 / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.3612, allocations: 91.91 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.3618, allocations: 344.6 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.3625, allocations: 118.5 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.3627, allocations: 60.81 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3627, allocations: 4 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3627, allocations: 38.5 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3627, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.000634/0.3634, allocations: 185.4 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3634, allocations: 59.41 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.3635, allocations: 117.8 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3635, allocations: 25.7 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.3636, allocations: 96.03 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3636, allocations: 19.75 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3637, allocations: 21.7 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3638, allocations: 326.8 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.364, allocations: 47.95 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3642, allocations: 49.42 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.3645, allocations: 96.72 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3645, allocations: 0 / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003748/0.3649, allocations: 145.5 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3649, allocations: 4 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3649, allocations: 0 / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.3649, allocations: 0 / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3651, allocations: 23.97 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3651, allocations: 4 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3652, allocations: 15.92 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3652, allocations: 7.984 kB / 1.023 GB, free: 4.93 MB / 0.795 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.0001043/0.3654, allocations: 118.4 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.3654, allocations: 7.906 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3654, allocations: 12.38 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3654, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3654, allocations: 3.938 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3655, allocations: 3.938 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.3657, allocations: 205.5 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3657, allocations: 0 / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3658, allocations: 23.97 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3658, allocations: 0 / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3659, allocations: 0 / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3659, allocations: 8 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3659, allocations: 0 / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.3663, allocations: 247.2 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.3664, allocations: 81.02 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3664, allocations: 7.969 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3665, allocations: 11.98 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.3666, allocations: 19.98 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3666, allocations: 7.922 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.3667, allocations: 95.27 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3667, allocations: 4 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002362/0.3669, allocations: 16 kB / 1.024 GB, free: 3.98 MB / 0.795 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.0001316/0.3671, allocations: 95.25 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.3675, allocations: 107.8 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3675, allocations: 4 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.3677, allocations: 63.94 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.368, allocations: 7.75 kB / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.3685, allocations: 174.4 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3688, allocations: 0.6923 MB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.114e-05/0.3688, allocations: 12 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.3689, allocations: 23.42 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3689, allocations: 4 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of Templates: time 0.004091/0.373, allocations: 1.574 MB / 1.027 GB, free: 1.18 MB / 0.795 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 -s gbode -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/jenkins1/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