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.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.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.001434/0.001434, 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.001334/0.001334, allocations: 196.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.734/1.734, allocations: 222.9 MB / 239.8 MB, free: 4.547 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 3.013/3.013, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 63.91 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8637/0.8658, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002271/0.8681, allocations: 0.7628 MB / 1.017 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.8691, allocations: 0.8001 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.8692, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.8693, allocations: 7.875 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.923e-05/0.8693, allocations: 7.922 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.112e-05/0.8694, allocations: 11.98 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.231e-05/0.8695, allocations: 39.86 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.8696, allocations: 12 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.8697, allocations: 19.92 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.8698, allocations: 19.91 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.8698, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.8698, allocations: 4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.8699, allocations: 4 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.8699, allocations: 19.86 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.394e-05/0.87, allocations: 43.86 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.87, allocations: 0 / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.587e-06/0.87, allocations: 0 / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.87, allocations: 7.938 kB / 1.018 GB, free: 0.9688 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006144/0.8706, allocations: 361.3 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8707, allocations: 8.031 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.8707, allocations: 4.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.8709, allocations: 172.3 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.8709, allocations: 4.375 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.8709, allocations: 384 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.8712, allocations: 82.2 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8712, allocations: 192 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.8712, allocations: 3.938 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8712, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.8716, allocations: 63.92 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.872, allocations: 268.9 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.8722, allocations: 54.48 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.8724, allocations: 44.91 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.8725, allocations: 4 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.8725, allocations: 34.56 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.8725, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005818/0.8731, allocations: 133.4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.8731, allocations: 55.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.8733, allocations: 109.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.8733, allocations: 25.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.8734, allocations: 88.14 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.8734, allocations: 11.78 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.8734, allocations: 21.7 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.8737, allocations: 310.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.8738, allocations: 35.97 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.874, allocations: 31.95 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.8742, allocations: 76.66 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.8743, allocations: 3.938 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000334/0.8746, allocations: 101.5 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8746, allocations: 6.031 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8746, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.8746, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.8748, allocations: 19.98 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.8748, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.8749, allocations: 11.98 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.8749, allocations: 7.984 kB / 1.02 GB, free: 14.63 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: 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 9.909e-05/0.875, allocations: 110.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.875, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.8751, allocations: 7.906 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8751, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8751, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8751, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.8753, allocations: 181.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8753, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.8754, allocations: 19.92 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8754, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8754, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.8755, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8755, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.8759, allocations: 203.4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.8759, allocations: 81.09 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.876, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.8761, allocations: 11.98 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.8761, allocations: 3.984 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.8761, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.434e-05/0.8762, allocations: 83.28 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.914e-06/0.8762, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002132/0.8764, allocations: 15.84 kB / 1.021 GB, free: 13.81 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: 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.0001624/0.8766, allocations: 99.19 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.8769, allocations: 67.92 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.8769, allocations: 4 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.8771, allocations: 39.95 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.8774, allocations: 9.906 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.8778, allocations: 135.3 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.8782, allocations: 0.6848 MB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.8782, allocations: 7.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.8782, allocations: 7.438 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.8782, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.003181/0.8814, allocations: 0.5433 MB / 1.023 GB, free: 12.16 MB / 0.7794 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=400 -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/jenkins/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