Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009125/0.0009125, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 181 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9006/0.9006, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.688/1.688, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 4 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.454e-05, allocations: 2.969 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001713/0.001728, allocations: 1.579 MB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005909/0.002319, allocations: 499.9 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.002377, allocations: 0 / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.002402, allocations: 5.5 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.002445, allocations: 11.88 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.002638, allocations: 40.86 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.002718, allocations: 43.84 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.425e-05/0.002792, allocations: 12 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.002907, allocations: 36.52 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.351e-05/0.002931, allocations: 17.33 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.002943, allocations: 4 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.082e-05/0.002974, allocations: 8 kB / 0.7897 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.002984, allocations: 7.984 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.003, allocations: 16.98 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.997e-05/0.00308, allocations: 51.75 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003082, allocations: 0 / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003082, allocations: 1.219 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.414e-06/0.003085, allocations: 0 / 0.7898 GB, free: 9.918 MB / 0.7448 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.0003048/0.00339, allocations: 385.8 kB / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.003422, allocations: 12.03 kB / 0.7902 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.003501, allocations: 12.89 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.003596, allocations: 127.4 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.00361, allocations: 384 / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.003618, allocations: 4.375 kB / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.993e-05/0.003707, allocations: 62.94 kB / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.003713, allocations: 192 / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.003719, allocations: 384 / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003724, allocations: 7.875 kB / 0.7904 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.003746, allocations: 15.98 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.003952, allocations: 261 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.004058, allocations: 56.69 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.004072, allocations: 11.75 kB / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.004087, allocations: 3.938 kB / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.004105, allocations: 39.14 kB / 0.7907 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004105, allocations: 0 / 0.7907 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001105/0.004216, allocations: 53.62 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.004237, allocations: 51.41 kB / 0.7908 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.004315, allocations: 177.8 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.004325, allocations: 30.89 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.00436, allocations: 126.9 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.004379, allocations: 23.88 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.004401, allocations: 16.97 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.004488, allocations: 496.1 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.0045, allocations: 3.984 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/0.004509, allocations: 4 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.004534, allocations: 17.5 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004536, allocations: 3.938 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.825e-05/0.004584, allocations: 45.62 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.004593, allocations: 11.94 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.004597, allocations: 0 / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.004606, allocations: 0.7812 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.956e-05/0.004646, allocations: 11.98 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.004649, allocations: 4.516 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.004668, allocations: 8.672 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.004672, allocations: 0 / 0.7918 GB, free: 7.688 MB / 0.7448 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 5.128e-05/0.004723, allocations: 165.1 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.004735, allocations: 5.25 kB / 0.7919 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.00476, allocations: 11.98 kB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.004761, allocations: 0 / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.004763, allocations: 0 / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004765, allocations: 0.5312 kB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.166e-05/0.004857, allocations: 110.6 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.004858, allocations: 0 / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.00489, allocations: 4 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.004893, allocations: 4 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.004898, allocations: 5.094 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.004899, allocations: 0 / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0049, allocations: 0 / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.005021, allocations: 205 kB / 0.7923 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.005029, allocations: 4 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.005039, allocations: 3.938 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.005094, allocations: 1.188 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.005112, allocations: 4 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.005116, allocations: 4.922 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.005149, allocations: 127.2 kB / 0.7924 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005149, allocations: 0 / 0.7924 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001326/0.005281, allocations: 13.3 kB / 0.7924 GB, free: 6.984 MB / 0.7448 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 5.778e-05/0.005339, allocations: 99.23 kB / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.8e-05/0.005397, allocations: 24.39 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005398, allocations: 0 / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.005414, allocations: 17.61 kB / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.005567, allocations: 7.938 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.005869, allocations: 154.8 kB / 0.7927 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.0059, allocations: 63.36 kB / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.816e-05/0.005918, allocations: 7.438 kB / 0.7928 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.005958, allocations: 74.2 kB / 0.7928 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.005959, allocations: 0 / 0.7928 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of Templates: time 0.001592/0.007551, allocations: 0.4982 MB / 0.7933 GB, free: 6.004 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.496322562918067]