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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001071, allocations: 105.8 kB / 16.27 MB, free: 6.105 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.001113/0.001113, allocations: 186 kB / 17.2 MB, free: 5.719 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7408/0.7408, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3322, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.002302/0.3345, allocations: 1.508 MB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005541/0.3351, allocations: 445.7 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.3352, allocations: 0.5312 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.3352, allocations: 6.594 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.3353, allocations: 9.578 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3355, allocations: 25.77 kB / 0.5692 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.3355, allocations: 39.84 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.3356, allocations: 15.17 kB / 0.5693 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.3357, allocations: 24.22 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.3358, allocations: 30.28 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3358, allocations: 5.156 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.3358, allocations: 3.906 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.3359, allocations: 8.422 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.3359, allocations: 22.14 kB / 0.5693 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.336, allocations: 46.84 kB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.336, allocations: 0 / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.336, allocations: 1.094 kB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.336, allocations: 0 / 0.5694 GB, free: 31.25 MB / 446.1 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.000392/0.3364, allocations: 368.6 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3364, allocations: 9.375 kB / 0.5698 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.374e-05/0.3365, allocations: 36.5 kB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.3365, allocations: 8.953 kB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/0.3366, allocations: 168.9 kB / 0.57 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3366, allocations: 6.094 kB / 0.57 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3366, allocations: 4.375 kB / 0.57 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.3368, allocations: 68.8 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3368, allocations: 0 / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3369, allocations: 1.688 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3369, allocations: 2.375 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.337, allocations: 44.28 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.3374, allocations: 298.3 kB / 0.5704 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.3377, allocations: 65.08 kB / 0.5704 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.962e-05/0.3378, allocations: 24.19 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.3378, allocations: 2.281 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.3379, allocations: 31.12 kB / 0.5705 GB, free: 30.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3379, allocations: 2.125 kB / 0.5705 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003474/0.3382, allocations: 90.28 kB / 0.5706 GB, free: 30.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.3382, allocations: 56.05 kB / 0.5706 GB, free: 30.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.3383, allocations: 123.6 kB / 0.5707 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.3383, allocations: 27.14 kB / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.3384, allocations: 92.69 kB / 0.5709 GB, free: 29.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.3384, allocations: 18.88 kB / 0.5709 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.3384, allocations: 13.25 kB / 0.5709 GB, free: 29.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.3385, allocations: 324.4 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.3385, allocations: 17.77 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.3386, allocations: 12.89 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3388, allocations: 42.25 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3388, allocations: 0.5625 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001966/0.339, allocations: 73.25 kB / 0.5713 GB, free: 29.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.339, allocations: 5.578 kB / 0.5713 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.339, allocations: 0 / 0.5713 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3391, allocations: 1.906 kB / 0.5713 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.3391, allocations: 9.75 kB / 0.5714 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3391, allocations: 1.156 kB / 0.5714 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.3392, allocations: 6.469 kB / 0.5714 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3392, allocations: 5.922 kB / 0.5714 GB, free: 29.43 MB / 446.1 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.53e-05/0.3393, allocations: 112.8 kB / 0.5715 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3393, allocations: 8.969 kB / 0.5715 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.3393, allocations: 14.94 kB / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3393, allocations: 0 / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3394, allocations: 1.859 kB / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3394, allocations: 0 / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3395, allocations: 173.4 kB / 0.5717 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3395, allocations: 1.125 kB / 0.5717 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.3396, allocations: 9.328 kB / 0.5717 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3396, allocations: 5.594 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3396, allocations: 3.672 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3396, allocations: 0 / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3396, allocations: 0 / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3398, allocations: 174.5 kB / 0.5718 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.3399, allocations: 79.84 kB / 0.5719 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3399, allocations: 0.6094 kB / 0.5719 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.34, allocations: 6.297 kB / 0.5719 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.34, allocations: 11.31 kB / 0.5719 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.34, allocations: 2.531 kB / 0.5719 GB, free: 28.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.3401, allocations: 101 kB / 0.572 GB, free: 28.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3401, allocations: 0 / 0.572 GB, free: 28.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.3403, allocations: 7.531 kB / 0.572 GB, free: 28.76 MB / 446.1 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 0.0003833/0.3407, allocations: 0.7002 MB / 0.5727 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.3409, allocations: 44.98 kB / 0.5728 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.341, allocations: 0.625 kB / 0.5728 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.3411, allocations: 18.84 kB / 0.5728 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3413, allocations: 6.75 kB / 0.5728 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3426, allocations: 1.336 MB / 0.5741 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3427, allocations: 0.685 MB / 0.5748 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.3428, allocations: 4.328 kB / 0.5748 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.3428, allocations: 23.31 kB / 0.5748 GB, free: 26.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3428, allocations: 0 / 0.5748 GB, free: 26.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.3628, allocations: 1.483 MB / 0.5762 GB, free: 25.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.08/7.443, allocations: 18.17 kB / 0.5763 GB, free: 25.81 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)