Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001968/0.001968, allocations: 192.5 kB / 16.13 MB, free: 6.684 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.571/1.571, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.829/2.829, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7794, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002477/0.782, allocations: 0.7743 MB / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.7832, allocations: 0.804 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.7833, allocations: 0 / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.7833, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.956e-05/0.7835, allocations: 7.922 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.522e-05/0.7835, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.7837, allocations: 47.78 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.7838, allocations: 12 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.7839, allocations: 15.98 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.784, allocations: 15.92 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.784, allocations: 4 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.7841, allocations: 4 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.7841, allocations: 15.91 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.7841, allocations: 11.94 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.7843, allocations: 39.86 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.7843, allocations: 4 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.286e-06/0.7843, allocations: 0 / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.7843, allocations: 3.938 kB / 1.018 GB, free: 0.9805 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.0006875/0.785, allocations: 365.3 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.785, allocations: 8.031 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.7851, allocations: 4.938 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.7852, allocations: 164.3 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.7853, allocations: 4.359 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.7853, allocations: 8.375 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.7856, allocations: 70.16 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7856, allocations: 192 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.7856, allocations: 7.938 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.7856, allocations: 4 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.7859, allocations: 59.92 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.7864, allocations: 272.9 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.7866, allocations: 58.42 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.7868, allocations: 44.91 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.7869, allocations: 0 / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.7869, allocations: 38.56 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.7869, allocations: 0 / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005645/0.7875, allocations: 129.5 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.7876, allocations: 51.41 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.7877, allocations: 117.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.7877, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.7878, allocations: 84.14 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.7878, allocations: 11.84 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.7879, allocations: 13.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.7881, allocations: 318.8 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.7882, allocations: 27.97 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.7884, allocations: 39.95 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.7886, allocations: 65.06 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.7886, allocations: 3.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003259/0.789, allocations: 105.5 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.789, allocations: 4 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.789, allocations: 7.938 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.789, allocations: 4 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.7892, allocations: 11.98 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.7892, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.7893, allocations: 15.92 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.7893, allocations: 8 kB / 1.02 GB, free: 14.64 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.866e-05/0.7894, allocations: 114.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.7894, allocations: 3.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.7895, allocations: 11.91 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7895, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7895, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7895, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.7897, allocations: 173.5 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7897, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-05/0.7898, allocations: 23.97 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.7898, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.7898, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7898, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7898, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.7902, allocations: 195.4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.7903, allocations: 81.11 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.7903, allocations: 7.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.7904, allocations: 11.92 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.7905, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.7905, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.474e-05/0.7906, allocations: 91.27 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7906, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002109/0.7908, allocations: 7.906 kB / 1.021 GB, free: 13.84 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.0001688/0.7909, allocations: 103.2 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.7913, allocations: 67.92 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7913, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.7915, allocations: 43.89 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.7918, allocations: 13.97 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.7922, allocations: 131.1 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.7925, allocations: 0.6848 MB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.7926, allocations: 8 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.7926, allocations: 7.438 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of SimCode: time 7.51e-07/0.7926, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of Templates: time 0.003229/0.7958, allocations: 0.5465 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches