Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.793/4.793, allocations: 0.5623 GB / 0.5769 GB, free: 3.402 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00245/0.002449, allocations: 365.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.275/4.275, allocations: 410.7 MB / 1.112 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001772, allocations: 188.3 kB / 1.225 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004898, allocations: 12 kB / 1.348 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5842, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00151/0.5858, allocations: 1.233 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.5865, allocations: 452.2 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.5866, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.5866, allocations: 2.469 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.5867, allocations: 7.922 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.5868, allocations: 15.98 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.5869, allocations: 39.86 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.587, allocations: 13.77 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.5871, allocations: 19.86 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.5872, allocations: 19.92 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.5872, allocations: 5.406 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.5872, allocations: 4 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.5873, allocations: 3.984 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.5873, allocations: 29.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.901e-05/0.5873, allocations: 28.72 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.605e-06/0.5874, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5874, allocations: 0.5312 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.518e-06/0.5874, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 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.0004061/0.5878, allocations: 363.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.5879, allocations: 15.62 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.5879, allocations: 9.016 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.588, allocations: 171 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.588, allocations: 1.031 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.5881, allocations: 4.844 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.5883, allocations: 62.42 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.5883, allocations: 0.5 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5883, allocations: 8.812 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5883, allocations: 4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.5885, allocations: 50.5 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.589, allocations: 302.4 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.5894, allocations: 74.48 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.5895, allocations: 30.84 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.5895, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.5896, allocations: 30.56 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.837e-06/0.5896, allocations: 5.312 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0004229/0.59, allocations: 104.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.59, allocations: 51.41 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.5901, allocations: 120.3 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.927e-06/0.5902, allocations: 27.58 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.5902, allocations: 96.19 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.5902, allocations: 15.78 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-06/0.5902, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.5903, allocations: 317 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.5904, allocations: 27.92 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.5905, allocations: 17.78 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.5906, allocations: 19.98 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5907, allocations: 1 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002627/0.5909, allocations: 85.42 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.591, allocations: 8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.302e-06/0.591, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.591, allocations: 3.953 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.5911, allocations: 13.33 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.574e-06/0.5911, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.5912, allocations: 8.688 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.5912, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.5913, allocations: 110.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.5914, allocations: 8.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.5914, allocations: 15.83 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.5914, allocations: 4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.814e-06/0.5914, allocations: 4.578 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-06/0.5915, allocations: 2.156 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.5916, allocations: 165.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-06/0.5916, allocations: 1.969 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/0.5918, allocations: 15.98 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.395e-06/0.5918, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-06/0.5918, allocations: 1.375 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5918, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.897e-06/0.5918, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.5921, allocations: 182.6 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.5921, allocations: 81.11 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.5922, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5923, allocations: 17.77 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.5923, allocations: 4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.701e-06/0.5924, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.5924, allocations: 104 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.82e-07/0.5924, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002945/0.5927, allocations: 8 kB / 1.465 GB, free: 279.5 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.247e-05/0.5928, allocations: 102.6 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.5931, allocations: 47.95 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.57e-06/0.5931, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.5932, allocations: 25.14 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.5936, allocations: 4.812 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.594, allocations: 171.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.5941, allocations: 0.6848 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.316e-05/0.5942, allocations: 6.516 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.5942, allocations: 7.438 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.45e-06/0.5942, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.002605/0.5968, allocations: 421.9 kB / 1.467 GB, free: 278 MB / 0.8542 GB