Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007488/0.007488, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00172/0.00172, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 290 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9163/0.9163, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 95.83 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1877, allocations: 86.98 MB / 0.7663 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002504/0.1902, allocations: 1.526 MB / 0.7678 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.1909, allocations: 439.5 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.191, allocations: 0 / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.191, allocations: 7.938 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.1911, allocations: 7.875 kB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1913, allocations: 23.91 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.358e-05/0.1914, allocations: 47.84 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1915, allocations: 23.97 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1916, allocations: 19.92 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.1917, allocations: 23.91 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1917, allocations: 4 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1917, allocations: 4 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.1917, allocations: 11.94 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.1918, allocations: 19.86 kB / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.518e-05/0.1919, allocations: 51.75 kB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1919, allocations: 0 / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1919, allocations: 0 / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1919, allocations: 0 / 0.7685 GB, free: 6.254 MB / 0.5606 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.0004972/0.1924, allocations: 359.3 kB / 0.7688 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1925, allocations: 12.03 kB / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.1925, allocations: 12.83 kB / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1926, allocations: 164.3 kB / 0.769 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1927, allocations: 8.375 kB / 0.769 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.1927, allocations: 384 / 0.769 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1929, allocations: 69.92 kB / 0.7691 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1929, allocations: 0 / 0.7691 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1929, allocations: 0 / 0.7691 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1929, allocations: 4 kB / 0.7691 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1931, allocations: 47.94 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1935, allocations: 296.7 kB / 0.7694 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.1938, allocations: 66.48 kB / 0.7695 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.1939, allocations: 24.91 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1939, allocations: 0 / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1939, allocations: 38.5 kB / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1939, allocations: 0 / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003263/0.1942, allocations: 89.55 kB / 0.7696 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1943, allocations: 59.34 kB / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.1944, allocations: 117.8 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1944, allocations: 25.7 kB / 0.7698 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.1944, allocations: 96.12 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1945, allocations: 7.812 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1945, allocations: 13.72 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.1946, allocations: 322.8 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.1947, allocations: 27.98 kB / 0.7703 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.1948, allocations: 11.98 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1949, allocations: 40.83 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1949, allocations: 0 / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001805/0.1951, allocations: 65.67 kB / 0.7704 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1951, allocations: 11.94 kB / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1951, allocations: 0 / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1952, allocations: 4 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.1952, allocations: 11.98 kB / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1952, allocations: 0 / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.1953, allocations: 7.938 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1953, allocations: 0 / 0.7704 GB, free: 4.055 MB / 0.5606 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.195e-05/0.1954, allocations: 118.4 kB / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.1954, allocations: 7.906 kB / 0.7705 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.1955, allocations: 7.906 kB / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1955, allocations: 8 kB / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1955, allocations: 0 / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1955, allocations: 0 / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1957, allocations: 177.5 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1957, allocations: 0 / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.1957, allocations: 8 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1957, allocations: 0 / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1958, allocations: 3.984 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1958, allocations: 0 / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1958, allocations: 4 kB / 0.7707 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.196, allocations: 171.6 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.196, allocations: 81.09 kB / 0.771 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1961, allocations: 4.047 kB / 0.771 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.1962, allocations: 3.984 kB / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.1962, allocations: 8 kB / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1962, allocations: 3.984 kB / 0.771 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.1963, allocations: 95.28 kB / 0.7711 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1963, allocations: 3.938 kB / 0.7711 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002107/0.1965, allocations: 7.938 kB / 0.7711 GB, free: 3.258 MB / 0.5606 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 7.672e-05/0.1966, allocations: 99.23 kB / 0.7712 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1968, allocations: 39.97 kB / 0.7712 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1968, allocations: 3.938 kB / 0.7712 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.1969, allocations: 19.98 kB / 0.7713 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1971, allocations: 8 kB / 0.7713 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.1974, allocations: 146.6 kB / 0.7714 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.1977, allocations: 0.6846 MB / 0.7721 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.1977, allocations: 0 / 0.7721 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.1977, allocations: 11.44 kB / 0.7721 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1977, allocations: 7.938 kB / 0.7721 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of Templates: time 0.002172/0.1999, allocations: 493.7 kB / 0.7726 GB, free: 1.707 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)