Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001487/0.001487, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 60.8 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3628, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003314/0.3662, allocations: 1.579 MB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.367, allocations: 442.8 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.367, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.854e-05/0.3671, allocations: 7.938 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.3671, allocations: 3.938 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3674, allocations: 23.97 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.3675, allocations: 39.84 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3676, allocations: 23.97 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3677, allocations: 23.91 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.3678, allocations: 23.86 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3678, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.3678, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.3678, allocations: 11.98 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.3679, allocations: 15.88 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.594e-05/0.368, allocations: 43.81 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.368, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.61e-07/0.368, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.368, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 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.000582/0.3686, allocations: 371.6 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3686, allocations: 8.031 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.3687, allocations: 4.938 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3688, allocations: 172.2 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.3688, allocations: 8.312 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3689, allocations: 8.375 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3691, allocations: 61.98 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3691, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3691, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3691, allocations: 8 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.3693, allocations: 39.97 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.3698, allocations: 296.7 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.3702, allocations: 66.53 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.3703, allocations: 20.91 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3703, allocations: 8.062 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3703, allocations: 30.56 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3703, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003784/0.3707, allocations: 97.44 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.3707, allocations: 55.39 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3709, allocations: 117.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3709, allocations: 29.7 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.3709, allocations: 88.08 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.371, allocations: 11.89 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.371, allocations: 17.66 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3711, allocations: 322.8 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.3712, allocations: 15.98 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.3713, allocations: 15.98 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3715, allocations: 40.83 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3715, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002036/0.3717, allocations: 81.5 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3717, allocations: 5.406 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3717, allocations: 4 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3718, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.3718, allocations: 8 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.3719, allocations: 3.984 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.3719, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3719, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 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.008e-05/0.372, allocations: 115.5 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.372, allocations: 7.906 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.3721, allocations: 16.22 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3721, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3721, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3721, allocations: 3.984 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.3723, allocations: 169.6 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3723, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.3724, allocations: 7.984 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3724, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3724, allocations: 11.94 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3724, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3724, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3727, allocations: 167.5 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.3727, allocations: 85.02 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3727, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.3728, allocations: 7.984 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.3729, allocations: 4 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.3729, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.601e-05/0.373, allocations: 107.6 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.373, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002257/0.3732, allocations: 7.938 kB / 1.072 GB, free: 5.633 MB / 0.8262 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 8.915e-05/0.3733, allocations: 103.1 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.3735, allocations: 47.89 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3735, allocations: 0 / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.3736, allocations: 23.98 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3739, allocations: 4 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.3743, allocations: 148.4 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3745, allocations: 0.6809 MB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.3746, allocations: 8.25 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.3746, allocations: 11.42 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3746, allocations: 7.938 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.002463/0.3771, allocations: 422.5 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_3.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)