Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009671/0.0009673, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001174/0.001174, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 252 MB / 0.5102 GB, free: 4.785 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004989, allocations: 20 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.5305, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001734/0.5323, allocations: 1.232 MB / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006571/0.533, allocations: 459.8 kB / 0.7298 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.533, allocations: 0 / 0.7298 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.533, allocations: 3.938 kB / 0.7298 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.5331, allocations: 3.938 kB / 0.7298 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.5333, allocations: 19.97 kB / 0.7298 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.5334, allocations: 51.77 kB / 0.7298 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.5335, allocations: 16 kB / 0.7298 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.96e-05/0.5336, allocations: 15.92 kB / 0.7299 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.5337, allocations: 15.92 kB / 0.7299 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.5337, allocations: 0 / 0.7299 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.5337, allocations: 4 kB / 0.7299 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.5337, allocations: 7.969 kB / 0.7299 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.5338, allocations: 37.64 kB / 0.7299 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.008e-05/0.5338, allocations: 23.95 kB / 0.7299 GB, free: 9.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5338, allocations: 4 kB / 0.7299 GB, free: 9.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5338, allocations: 0 / 0.7299 GB, free: 9.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.5338, allocations: 4 kB / 0.73 GB, free: 9.516 MB / 0.545 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.0004463/0.5343, allocations: 357.1 kB / 0.7303 GB, free: 9.121 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.5343, allocations: 12.03 kB / 0.7303 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.5344, allocations: 3.906 kB / 0.7303 GB, free: 9.105 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.5345, allocations: 175 kB / 0.7305 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.5345, allocations: 7.938 kB / 0.7305 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.5346, allocations: 4 kB / 0.7305 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.5348, allocations: 69.66 kB / 0.7306 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.5348, allocations: 0 / 0.7306 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5348, allocations: 4 kB / 0.7306 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.5348, allocations: 4 kB / 0.7306 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.535, allocations: 51.97 kB / 0.7306 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.5354, allocations: 308.6 kB / 0.7309 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.5357, allocations: 70.55 kB / 0.731 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.5358, allocations: 24.91 kB / 0.731 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.5358, allocations: 0 / 0.731 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.5359, allocations: 34.56 kB / 0.731 GB, free: 8.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.5359, allocations: 4 kB / 0.731 GB, free: 8.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003422/0.5362, allocations: 101.5 kB / 0.7311 GB, free: 8.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.5363, allocations: 51.41 kB / 0.7312 GB, free: 8.078 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.5364, allocations: 121.8 kB / 0.7313 GB, free: 7.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.5364, allocations: 29.7 kB / 0.7313 GB, free: 7.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.5364, allocations: 100 kB / 0.7314 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.5365, allocations: 7.844 kB / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.5365, allocations: 0 / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5366, allocations: 318.8 kB / 0.7317 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.5367, allocations: 19.98 kB / 0.7317 GB, free: 7.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.5367, allocations: 23.92 kB / 0.7318 GB, free: 7.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.809e-05/0.5368, allocations: 19.98 kB / 0.7318 GB, free: 7.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5369, allocations: 4 kB / 0.7318 GB, free: 7.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001954/0.5371, allocations: 89.5 kB / 0.7319 GB, free: 7.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5371, allocations: 5.719 kB / 0.7319 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5371, allocations: 0 / 0.7319 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5371, allocations: 3.953 kB / 0.7319 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.5372, allocations: 8 kB / 0.7319 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5372, allocations: 0 / 0.7319 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.5373, allocations: 11.98 kB / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.5373, allocations: 0 / 0.7319 GB, free: 7.297 MB / 0.545 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 9.044e-05/0.5374, allocations: 117.8 kB / 0.732 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.5374, allocations: 0 / 0.732 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.5374, allocations: 15.89 kB / 0.732 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5374, allocations: 336 / 0.732 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5374, allocations: 3.953 kB / 0.732 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5375, allocations: 0 / 0.732 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.5376, allocations: 169.6 kB / 0.7322 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5376, allocations: 11.92 kB / 0.7322 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.5377, allocations: 11.98 kB / 0.7322 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5377, allocations: 4 kB / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.5377, allocations: 0 / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5377, allocations: 0 / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.5378, allocations: 0 / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.538, allocations: 183.4 kB / 0.7324 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.5381, allocations: 81.02 kB / 0.7325 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.5381, allocations: 0 / 0.7325 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.5382, allocations: 11.98 kB / 0.7325 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.5382, allocations: 4 kB / 0.7325 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.5382, allocations: 0 / 0.7325 GB, free: 6.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.539e-05/0.5383, allocations: 103.6 kB / 0.7326 GB, free: 6.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5383, allocations: 0 / 0.7326 GB, free: 6.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002118/0.5385, allocations: 4 kB / 0.7326 GB, free: 6.492 MB / 0.545 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.322e-05/0.5386, allocations: 99.25 kB / 0.7327 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.5388, allocations: 47.91 kB / 0.7327 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5388, allocations: 0 / 0.7327 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.5389, allocations: 35.97 kB / 0.7328 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.5392, allocations: 0 / 0.7328 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.5395, allocations: 160.6 kB / 0.7329 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.5397, allocations: 0.6848 MB / 0.7336 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.5398, allocations: 7.938 kB / 0.7336 GB, free: 5.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.5398, allocations: 15.36 kB / 0.7336 GB, free: 5.387 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5398, allocations: 0 / 0.7336 GB, free: 5.387 MB / 0.545 GB Notification: Performance of Templates: time 0.002052/0.5418, allocations: 413.4 kB / 0.734 GB, free: 4.988 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) Environment - environmentSimulation: