Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 107 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.001073/0.001073, allocations: 195.3 kB / 17.29 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 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.373/2.373, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 64.5 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2748, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002721/0.2776, allocations: 1.532 MB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006475/0.2782, allocations: 444.4 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.2783, allocations: 0 / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.2784, allocations: 7.922 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.525e-05/0.2784, allocations: 11.88 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.2786, allocations: 23.92 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.2787, allocations: 43.84 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2789, allocations: 19.98 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.279, allocations: 23.92 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.279, allocations: 23.86 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.2791, allocations: 4 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.2791, allocations: 4 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.2791, allocations: 15.91 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.2792, allocations: 19.88 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.428e-05/0.2793, allocations: 47.81 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2793, allocations: 3.938 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2793, allocations: 0 / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2793, allocations: 4 kB / 1.021 GB, free: 7.641 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005199/0.2798, allocations: 351.4 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2798, allocations: 8.922 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.2799, allocations: 8.844 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.28, allocations: 176.2 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.2801, allocations: 4.359 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.2801, allocations: 4.375 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.2803, allocations: 69.98 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2803, allocations: 3.938 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2803, allocations: 7.984 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2803, allocations: 0 / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.2805, allocations: 39.97 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.2809, allocations: 292.7 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.2812, allocations: 66.48 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.855e-05/0.2813, allocations: 24.91 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.2813, allocations: 0 / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2814, allocations: 34.56 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2814, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003442/0.2817, allocations: 93.64 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.2818, allocations: 51.41 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.2819, allocations: 121.8 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2819, allocations: 25.7 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2819, allocations: 95.98 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.282, allocations: 7.891 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.282, allocations: 17.72 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2821, allocations: 326.8 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.2822, allocations: 11.98 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.2823, allocations: 19.98 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.2824, allocations: 36.84 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2825, allocations: 0 / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001929/0.2827, allocations: 81.44 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2827, allocations: 4 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2827, allocations: 0 / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2827, allocations: 7.938 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.2828, allocations: 11.98 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2828, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.2829, allocations: 4 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.2829, allocations: 4 kB / 1.023 GB, free: 5.445 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 7.813e-05/0.283, allocations: 114.4 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.283, allocations: 4 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.283, allocations: 11.89 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.283, allocations: 0 / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.283, allocations: 0 / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.283, allocations: 4 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.2832, allocations: 169.7 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2832, allocations: 0 / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.2833, allocations: 11.98 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2833, allocations: 0 / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.2833, allocations: 4 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2833, allocations: 0 / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2833, allocations: 0 / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.2836, allocations: 183.6 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.2836, allocations: 81.02 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2836, allocations: 0 / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.2837, allocations: 7.984 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.2838, allocations: 4 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2838, allocations: 4 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.2839, allocations: 95.27 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2839, allocations: 0 / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002236/0.2841, allocations: 11.94 kB / 1.024 GB, free: 4.66 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 9.215e-05/0.2842, allocations: 99.19 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.2844, allocations: 43.95 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.2844, allocations: 4 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.2845, allocations: 23.86 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.2848, allocations: 7.984 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.2851, allocations: 139.5 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.2854, allocations: 0.6807 MB / 1.024 GB, free: 3.605 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.2854, allocations: 11.98 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.2854, allocations: 7.438 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.2854, allocations: 0 / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of Templates: time 0.002478/0.2879, allocations: 470.6 kB / 1.025 GB, free: 3.129 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches