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.001373/0.001373, allocations: 96.03 kB / 15.69 MB, free: 484 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.001829/0.001829, allocations: 176.3 kB / 16.57 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.711/2.711, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.076/1.076, allocations: 113.7 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006042/0.0006043, allocations: 8.625 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2418, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.002865/0.2447, allocations: 1.221 MB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2458, allocations: 395.5 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.2458, allocations: 4 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2459, allocations: 7.922 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.246, allocations: 4 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.2463, allocations: 19.91 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.2464, allocations: 27.91 kB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2465, allocations: 16 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.2467, allocations: 19.91 kB / 0.5584 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.2468, allocations: 19.86 kB / 0.5584 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.2468, allocations: 4 kB / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.2468, allocations: 0 / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.2469, allocations: 4 kB / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.2469, allocations: 37.62 kB / 0.5584 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.052e-05/0.247, allocations: 23.95 kB / 0.5585 GB, free: 9.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2471, allocations: 0 / 0.5585 GB, free: 9.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2471, allocations: 0 / 0.5585 GB, free: 9.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2471, allocations: 4 kB / 0.5585 GB, free: 9.891 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.0007896/0.2479, allocations: 359.5 kB / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.248, allocations: 8.031 kB / 0.5588 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.308e-05/0.248, allocations: 34.56 kB / 0.5588 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.2481, allocations: 7.906 kB / 0.5589 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.2483, allocations: 171 kB / 0.559 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.2484, allocations: 8 kB / 0.559 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2484, allocations: 4 kB / 0.559 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.2487, allocations: 73.55 kB / 0.5591 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2488, allocations: 0 / 0.5591 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2488, allocations: 0 / 0.5591 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2488, allocations: 0 / 0.5591 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.2492, allocations: 55.97 kB / 0.5592 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.2499, allocations: 296.7 kB / 0.5594 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.2505, allocations: 74.48 kB / 0.5595 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.2505, allocations: 0 / 0.5595 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.2506, allocations: 34.56 kB / 0.5595 GB, free: 8.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.2506, allocations: 4.062 kB / 0.5595 GB, free: 8.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006364/0.2512, allocations: 101.6 kB / 0.5596 GB, free: 8.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.2513, allocations: 51.41 kB / 0.5597 GB, free: 8.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2515, allocations: 127.2 kB / 0.5598 GB, free: 8.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2515, allocations: 25.7 kB / 0.5598 GB, free: 8.281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.2516, allocations: 96.12 kB / 0.5599 GB, free: 8.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.2517, allocations: 15.88 kB / 0.5599 GB, free: 8.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.2517, allocations: 0 / 0.5599 GB, free: 8.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2519, allocations: 314.8 kB / 0.5602 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2521, allocations: 23.98 kB / 0.5603 GB, free: 7.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2522, allocations: 19.92 kB / 0.5603 GB, free: 7.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2524, allocations: 23.98 kB / 0.5603 GB, free: 7.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.2524, allocations: 3.953 kB / 0.5603 GB, free: 7.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003976/0.2528, allocations: 77.66 kB / 0.5604 GB, free: 7.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.2528, allocations: 8 kB / 0.5604 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2529, allocations: 0 / 0.5604 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2529, allocations: 4 kB / 0.5604 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.253, allocations: 11.98 kB / 0.5604 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.253, allocations: 3.938 kB / 0.5604 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.41e-05/0.2531, allocations: 8 kB / 0.5604 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2532, allocations: 0 / 0.5604 GB, free: 7.664 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.2533, allocations: 109.8 kB / 0.5605 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.2533, allocations: 11.86 kB / 0.5605 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.2534, allocations: 11.89 kB / 0.5605 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.2534, allocations: 4 kB / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.2534, allocations: 0 / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2535, allocations: 0 / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.2538, allocations: 169.7 kB / 0.5607 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2538, allocations: 0 / 0.5607 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2539, allocations: 19.88 kB / 0.5607 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2539, allocations: 4 kB / 0.5607 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.254, allocations: 0 / 0.5607 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.254, allocations: 4 kB / 0.5607 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.254, allocations: 0 / 0.5607 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.2544, allocations: 179.7 kB / 0.5609 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.2545, allocations: 81.11 kB / 0.561 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.2546, allocations: 3.953 kB / 0.561 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2547, allocations: 15.98 kB / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.2548, allocations: 4 kB / 0.561 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.2548, allocations: 4 kB / 0.561 GB, free: 6.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.2549, allocations: 91.27 kB / 0.5611 GB, free: 6.867 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2549, allocations: 0 / 0.5611 GB, free: 6.867 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.2554, allocations: 11.94 kB / 0.5611 GB, free: 6.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008181/0.2562, allocations: 0.7092 MB / 0.5618 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.2566, allocations: 47.91 kB / 0.5618 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2566, allocations: 4 kB / 0.5619 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.2568, allocations: 23.98 kB / 0.5619 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.2571, allocations: 13.58 kB / 0.5619 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2588, allocations: 0.5036 MB / 0.5624 GB, free: 5.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.2592, allocations: 0.6887 MB / 0.5631 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.2593, allocations: 0 / 0.5631 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.2593, allocations: 23.42 kB / 0.5631 GB, free: 4.746 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2594, allocations: 0 / 0.5631 GB, free: 4.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.296/0.5554, allocations: 1.231 MB / 0.5643 GB, free: 3.656 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.5558, allocations: 181.4 kB / 0.5645 GB, free: 3.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.477, allocations: 7.5 kB / 0.5645 GB, free: 3.418 MB / 430.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/linux/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) Environment - environmentSimulation: