Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5114/0.5114, allocations: 87.51 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009879/0.0009879, allocations: 106.2 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 51.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3085, allocations: 70.06 MB / 0.5575 GB, free: 44.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.00338/0.3119, allocations: 1.575 MB / 0.559 GB, free: 43.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.3126, allocations: 438 kB / 0.5594 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.3127, allocations: 1.062 kB / 0.5594 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.3127, allocations: 3.938 kB / 0.5594 GB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.3128, allocations: 8.969 kB / 0.5595 GB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.313, allocations: 25.28 kB / 0.5595 GB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.119e-05/0.3131, allocations: 37.67 kB / 0.5595 GB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3132, allocations: 18.83 kB / 0.5595 GB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3133, allocations: 24.42 kB / 0.5596 GB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.3134, allocations: 21.09 kB / 0.5596 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3134, allocations: 3.031 kB / 0.5596 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.3134, allocations: 6.75 kB / 0.5596 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.3135, allocations: 9.031 kB / 0.5596 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.3135, allocations: 20.39 kB / 0.5596 GB, free: 42.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.849e-05/0.3136, allocations: 36.73 kB / 0.5596 GB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3136, allocations: 0 / 0.5596 GB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3136, allocations: 1.625 kB / 0.5597 GB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.3136, allocations: 0 / 0.5597 GB, free: 42.91 MB / 410.7 MB 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.0004366/0.3141, allocations: 363.1 kB / 0.56 GB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3141, allocations: 12.12 kB / 0.56 GB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.3142, allocations: 7.625 kB / 0.56 GB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.663e-05/0.3142, allocations: 175.1 kB / 0.5602 GB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3143, allocations: 3.125 kB / 0.5602 GB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.3143, allocations: 2.812 kB / 0.5602 GB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3145, allocations: 71.27 kB / 0.5603 GB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3145, allocations: 0 / 0.5603 GB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3145, allocations: 3.984 kB / 0.5603 GB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3145, allocations: 1.062 kB / 0.5603 GB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3147, allocations: 46.56 kB / 0.5603 GB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.315, allocations: 288.8 kB / 0.5606 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3153, allocations: 62.48 kB / 0.5606 GB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.3154, allocations: 28.91 kB / 0.5607 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3154, allocations: 0 / 0.5607 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.3155, allocations: 34.55 kB / 0.5607 GB, free: 41.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3155, allocations: 0 / 0.5607 GB, free: 41.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003228/0.3158, allocations: 85.56 kB / 0.5608 GB, free: 41.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.3158, allocations: 63.34 kB / 0.5608 GB, free: 41.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.3159, allocations: 117.8 kB / 0.561 GB, free: 41.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.3159, allocations: 25.7 kB / 0.561 GB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.3159, allocations: 92.12 kB / 0.5611 GB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.316, allocations: 7.891 kB / 0.5611 GB, free: 41.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.316, allocations: 17.72 kB / 0.5611 GB, free: 41.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.316, allocations: 322.8 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.3161, allocations: 15.92 kB / 0.5614 GB, free: 40.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.3162, allocations: 24.17 kB / 0.5614 GB, free: 40.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3164, allocations: 44.91 kB / 0.5615 GB, free: 40.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3164, allocations: 0 / 0.5615 GB, free: 40.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000178/0.3166, allocations: 65.61 kB / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3166, allocations: 4 kB / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3166, allocations: 0 / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3166, allocations: 8 kB / 0.5616 GB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.3167, allocations: 11.98 kB / 0.5616 GB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3167, allocations: 0 / 0.5616 GB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.3168, allocations: 7.938 kB / 0.5616 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3168, allocations: 7.984 kB / 0.5616 GB, free: 40.79 MB / 410.7 MB 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 4.492e-05/0.3168, allocations: 109.8 kB / 0.5617 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3168, allocations: 7.906 kB / 0.5617 GB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.3169, allocations: 7.906 kB / 0.5617 GB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3169, allocations: 0 / 0.5617 GB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3169, allocations: 4 kB / 0.5617 GB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3169, allocations: 4 kB / 0.5617 GB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.317, allocations: 181.6 kB / 0.5619 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.317, allocations: 3.938 kB / 0.5619 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.3171, allocations: 11.98 kB / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3171, allocations: 0 / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3171, allocations: 0 / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3171, allocations: 0 / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3172, allocations: 0 / 0.5619 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.3175, allocations: 0.7356 MB / 0.5626 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.3176, allocations: 89 kB / 0.5627 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3176, allocations: 3.938 kB / 0.5627 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.3177, allocations: 8 kB / 0.5627 GB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.3177, allocations: 3.938 kB / 0.5627 GB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3177, allocations: 7.984 kB / 0.5627 GB, free: 39.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.875e-05/0.3177, allocations: 91.28 kB / 0.5628 GB, free: 39.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3178, allocations: 0 / 0.5628 GB, free: 39.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.3181, allocations: 4 kB / 0.5628 GB, free: 39.38 MB / 410.7 MB 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 6.057e-05/0.3182, allocations: 99.23 kB / 0.5629 GB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3184, allocations: 39.97 kB / 0.5629 GB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3184, allocations: 4 kB / 0.563 GB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.3185, allocations: 19.98 kB / 0.563 GB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.3188, allocations: 2.406 kB / 0.563 GB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.3191, allocations: 274.9 kB / 0.5632 GB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3192, allocations: 0.6887 MB / 0.5639 GB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.3193, allocations: 0.5312 kB / 0.5639 GB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.3193, allocations: 11.44 kB / 0.5639 GB, free: 38.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3193, allocations: 0 / 0.5639 GB, free: 38.18 MB / 410.7 MB Notification: Performance of Templates: time 0.001935/0.3213, allocations: 448 kB / 0.5643 GB, free: 37.75 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)