Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.44 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003124/0.3187, allocations: 1.526 MB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.3195, allocations: 446.8 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.3196, allocations: 4 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.3197, allocations: 3.938 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.064e-05/0.3197, allocations: 7.938 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.3199, allocations: 27.91 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.36e-05/0.32, allocations: 43.84 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3202, allocations: 15.98 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3203, allocations: 27.92 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.3204, allocations: 23.91 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.3204, allocations: 7.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.3204, allocations: 7.938 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.3204, allocations: 7.984 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.3205, allocations: 23.86 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.3206, allocations: 31.89 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3206, allocations: 4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3206, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3206, allocations: 0 / 1.07 GB, free: 8.211 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.0005722/0.3212, allocations: 363.6 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3213, allocations: 15.91 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3213, allocations: 4.938 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3214, allocations: 180.2 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.3215, allocations: 384 / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3215, allocations: 4.375 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.3217, allocations: 65.98 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3218, allocations: 7.938 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3218, allocations: 4 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3218, allocations: 0 / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.322, allocations: 39.97 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.3225, allocations: 292.7 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.3229, allocations: 66.48 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.323, allocations: 24.91 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.323, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.323, allocations: 30.56 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.323, allocations: 0 / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003979/0.3234, allocations: 97.67 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3235, allocations: 55.41 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3236, allocations: 121.8 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3236, allocations: 25.7 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.3237, allocations: 96.06 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.3237, allocations: 3.906 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.3238, allocations: 17.72 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3239, allocations: 326.8 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.324, allocations: 11.98 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.3241, allocations: 19.98 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3242, allocations: 40.84 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3242, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002155/0.3245, allocations: 73.56 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3245, allocations: 5.562 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3245, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3245, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.3246, allocations: 19.86 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3246, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.3247, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3247, allocations: 4 kB / 1.072 GB, free: 6.004 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 7.378e-05/0.3248, allocations: 117.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3248, allocations: 7.906 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.3248, allocations: 11.84 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3249, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3249, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3249, allocations: 4 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.325, allocations: 177.6 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.325, allocations: 0 / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.3251, allocations: 8 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3251, allocations: 0 / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3251, allocations: 0 / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3252, allocations: 7.984 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3252, allocations: 0 / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.3254, allocations: 171.4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.3255, allocations: 81.02 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3255, allocations: 3.984 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.3256, allocations: 4 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.3256, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3256, allocations: 4 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.3257, allocations: 95.27 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3257, allocations: 0 / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000225/0.3259, allocations: 11.94 kB / 1.073 GB, free: 5.207 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.857e-05/0.326, allocations: 103.7 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3262, allocations: 35.97 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3263, allocations: 8 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.3263, allocations: 19.92 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.3266, allocations: 4 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.3271, allocations: 143 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3273, allocations: 0.6846 MB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.44e-05/0.3274, allocations: 19.81 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.3274, allocations: 7.438 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/0.3274, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.002679/0.3301, allocations: 480.4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_1.6_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_1.6_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)