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.0009025/0.0009024, allocations: 98.81 kB / 16.02 MB, free: 80 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.00096/0.0009597, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6796/0.6796, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8 kB / 495.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1374, allocations: 77.54 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.001877/0.1394, allocations: 1.245 MB / 0.5612 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.1401, allocations: 423 kB / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.1402, allocations: 4 kB / 0.5617 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.1402, allocations: 0 / 0.5617 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.1403, allocations: 3.938 kB / 0.5617 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1405, allocations: 23.92 kB / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.1406, allocations: 35.92 kB / 0.5617 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.1407, allocations: 15.98 kB / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1408, allocations: 23.91 kB / 0.5618 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.1409, allocations: 19.86 kB / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1409, allocations: 4 kB / 0.5618 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.1409, allocations: 0 / 0.5618 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.1409, allocations: 4 kB / 0.5618 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.141, allocations: 45.56 kB / 0.5618 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.025e-05/0.1411, allocations: 43.81 kB / 0.5619 GB, free: 7.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1411, allocations: 0 / 0.5619 GB, free: 7.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1411, allocations: 0 / 0.5619 GB, free: 7.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1411, allocations: 0 / 0.5619 GB, free: 7.039 MB / 430.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.000526/0.1416, allocations: 361.4 kB / 0.5622 GB, free: 6.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1417, allocations: 12.03 kB / 0.5622 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.1417, allocations: 38.69 kB / 0.5623 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1418, allocations: 8.844 kB / 0.5623 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1419, allocations: 168.3 kB / 0.5624 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1419, allocations: 384 / 0.5624 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.142, allocations: 8.375 kB / 0.5624 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.1422, allocations: 69.78 kB / 0.5625 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1422, allocations: 0 / 0.5625 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1422, allocations: 4 kB / 0.5625 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1422, allocations: 4 kB / 0.5625 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1424, allocations: 47.91 kB / 0.5626 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.143, allocations: 304.7 kB / 0.5628 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.1433, allocations: 70.53 kB / 0.5629 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1434, allocations: 36.84 kB / 0.5629 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1435, allocations: 0 / 0.5629 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1435, allocations: 34.5 kB / 0.563 GB, free: 5.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1435, allocations: 0 / 0.563 GB, free: 5.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003885/0.1439, allocations: 105.6 kB / 0.5631 GB, free: 5.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.144, allocations: 51.41 kB / 0.5631 GB, free: 5.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.1441, allocations: 121.8 kB / 0.5632 GB, free: 5.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1441, allocations: 25.7 kB / 0.5633 GB, free: 5.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.1441, allocations: 95.98 kB / 0.5634 GB, free: 5.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.1442, allocations: 7.906 kB / 0.5634 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.1442, allocations: 9.719 kB / 0.5634 GB, free: 5.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1444, allocations: 326.8 kB / 0.5637 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/0.1445, allocations: 23.92 kB / 0.5637 GB, free: 4.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.1446, allocations: 19.98 kB / 0.5637 GB, free: 4.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1447, allocations: 52.83 kB / 0.5638 GB, free: 4.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1448, allocations: 0 / 0.5638 GB, free: 4.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002264/0.145, allocations: 73.58 kB / 0.5639 GB, free: 4.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.145, allocations: 4 kB / 0.5639 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.145, allocations: 4 kB / 0.5639 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.145, allocations: 4 kB / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.1451, allocations: 11.98 kB / 0.5639 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1451, allocations: 0 / 0.5639 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.1452, allocations: 8 kB / 0.5639 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1452, allocations: 15.86 kB / 0.5639 GB, free: 4.723 MB / 430.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 6.796e-05/0.1453, allocations: 105.8 kB / 0.564 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1453, allocations: 4 kB / 0.564 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.1454, allocations: 11.91 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1454, allocations: 0 / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1454, allocations: 0 / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1454, allocations: 4 kB / 0.564 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1456, allocations: 177.5 kB / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1456, allocations: 0 / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.1456, allocations: 15.98 kB / 0.5642 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1457, allocations: 0 / 0.5642 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.1457, allocations: 4 kB / 0.5642 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1457, allocations: 0 / 0.5642 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1457, allocations: 4 kB / 0.5642 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.146, allocations: 171.5 kB / 0.5644 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.146, allocations: 92.94 kB / 0.5645 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.146, allocations: 0 / 0.5645 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.1461, allocations: 8 kB / 0.5645 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1462, allocations: 3.984 kB / 0.5645 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1462, allocations: 4 kB / 0.5645 GB, free: 4.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.1462, allocations: 99.14 kB / 0.5646 GB, free: 3.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1462, allocations: 3.938 kB / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1465, allocations: 15.94 kB / 0.5646 GB, free: 3.914 MB / 430.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.0007091/0.1472, allocations: 0.7012 MB / 0.5653 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.1474, allocations: 51.91 kB / 0.5653 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1474, allocations: 4 kB / 0.5653 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.1475, allocations: 24.08 kB / 0.5654 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1478, allocations: 4.031 kB / 0.5654 GB, free: 3.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1494, allocations: 1.39 MB / 0.5667 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.1496, allocations: 0.6848 MB / 0.5674 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.1497, allocations: 4 kB / 0.5674 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1497, allocations: 15.44 kB / 0.5674 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1497, allocations: 0 / 0.5674 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1774/0.3272, allocations: 1.275 MB / 0.5686 GB, free: 15.78 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/0.3275, allocations: 202.8 kB / 0.5688 GB, free: 15.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.27, allocations: 0 / 0.5688 GB, free: 15.53 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)