Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001906, allocations: 106.1 kB / 16.36 MB, free: 6.336 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.001912/0.001912, allocations: 198.1 kB / 17.3 MB, free: 5.883 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 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.528/2.528, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.16 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3348, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002497/0.3374, allocations: 0.7039 MB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3384, allocations: 0.8079 MB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.3385, allocations: 4 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.3385, allocations: 3.938 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.3387, allocations: 3.938 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.065e-05/0.3387, allocations: 11.98 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.01e-05/0.3388, allocations: 51.84 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3389, allocations: 4 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.339, allocations: 19.92 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.3391, allocations: 23.84 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3391, allocations: 4 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.3391, allocations: 4 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3391, allocations: 11.98 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.3392, allocations: 15.92 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.571e-05/0.3393, allocations: 43.81 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3393, allocations: 4 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3393, allocations: 0 / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3393, allocations: 0 / 1.02 GB, free: 8.105 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005569/0.3399, allocations: 359.3 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3399, allocations: 8.922 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.3399, allocations: 0.9375 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3401, allocations: 176.2 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3401, allocations: 8.375 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.3401, allocations: 4.375 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.3404, allocations: 70.16 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3404, allocations: 192 / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3404, allocations: 3.938 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3404, allocations: 3.984 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.3406, allocations: 67.92 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.3411, allocations: 261 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.3413, allocations: 58.42 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.3415, allocations: 52.91 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3415, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3415, allocations: 34.5 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.3415, allocations: 0 / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004809/0.342, allocations: 133.5 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3421, allocations: 51.41 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.3421, allocations: 117.8 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3422, allocations: 25.7 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.3422, allocations: 88.08 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3423, allocations: 11.81 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.3423, allocations: 17.7 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3424, allocations: 318.8 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.3425, allocations: 27.97 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3427, allocations: 35.89 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.3429, allocations: 68.78 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3429, allocations: 7.938 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002668/0.3432, allocations: 93.62 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3432, allocations: 4 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3432, allocations: 4 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3432, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3434, allocations: 19.92 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.3434, allocations: 4 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.3434, allocations: 15.98 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3435, allocations: 0 / 1.023 GB, free: 5.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.636e-05/0.3436, allocations: 117.8 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3436, allocations: 3.906 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.3436, allocations: 7.906 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3436, allocations: 4 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3436, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3436, allocations: 4 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3438, allocations: 169.6 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3438, allocations: 3.984 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.3439, allocations: 11.98 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3439, allocations: 4 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.3439, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3439, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3439, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.3443, allocations: 203.7 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.3443, allocations: 88.94 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3443, allocations: 4 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.3444, allocations: 7.984 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.3445, allocations: 4 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3445, allocations: 0 / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.3446, allocations: 95.27 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3446, allocations: 3.938 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000207/0.3448, allocations: 4 kB / 1.023 GB, free: 4.949 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001641/0.3449, allocations: 99.25 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.3453, allocations: 71.92 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3453, allocations: 0 / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3454, allocations: 47.83 kB / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3457, allocations: 10.89 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.3461, allocations: 125.6 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3464, allocations: 0.6846 MB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.3464, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.3465, allocations: 11.44 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3465, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of Templates: time 0.002866/0.3493, allocations: 0.6659 MB / 1.025 GB, free: 3.188 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches