Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007992/0.0007992, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007798/0.0007798, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8569/0.8569, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001376/0.001376, allocations: 240.8 kB / 259.4 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6864/0.6864, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6462 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.396e-05, allocations: 9.172 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.001953/0.001967, allocations: 1.543 MB / 0.6478 GB, free: 336 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2371/0.2391, allocations: 473.7 kB / 0.6482 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.2392, allocations: 1.75 kB / 0.6482 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.2392, allocations: 3.984 kB / 0.6482 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.2393, allocations: 7.156 kB / 0.6482 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.2396, allocations: 38.94 kB / 0.6483 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2397, allocations: 45.02 kB / 0.6483 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2398, allocations: 20.81 kB / 0.6483 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.2399, allocations: 35.27 kB / 0.6484 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.24, allocations: 18.95 kB / 0.6484 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.24, allocations: 3.438 kB / 0.6484 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.681e-05/0.24, allocations: 6.094 kB / 0.6484 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.24, allocations: 16.2 kB / 0.6484 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.2401, allocations: 11.8 kB / 0.6484 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.2402, allocations: 51.97 kB / 0.6485 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2402, allocations: 1.406 kB / 0.6485 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2402, allocations: 0 / 0.6485 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2402, allocations: 1.438 kB / 0.6485 GB, free: 55.91 MB / 0.5573 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.0003834/0.2406, allocations: 290.9 kB / 0.6487 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2406, allocations: 12.98 kB / 0.6488 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.2407, allocations: 36.66 kB / 0.6488 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.2408, allocations: 13.31 kB / 0.6488 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.241, allocations: 119.7 kB / 0.6489 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.241, allocations: 3 kB / 0.6489 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.241, allocations: 7.766 kB / 0.6489 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2411, allocations: 62.55 kB / 0.649 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2411, allocations: 4.219 kB / 0.649 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2411, allocations: 4.906 kB / 0.649 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2412, allocations: 1.5 kB / 0.649 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.2413, allocations: 41.34 kB / 0.649 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.2416, allocations: 262.4 kB / 0.6493 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.2419, allocations: 67.33 kB / 0.6493 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.2419, allocations: 26.34 kB / 0.6494 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.2419, allocations: 0.6875 kB / 0.6494 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.242, allocations: 34.41 kB / 0.6494 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.242, allocations: 0 / 0.6494 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002634/0.2422, allocations: 91.47 kB / 0.6495 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.2422, allocations: 56.25 kB / 0.6495 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.2423, allocations: 127.9 kB / 0.6497 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.2423, allocations: 27.89 kB / 0.6497 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.2424, allocations: 90.11 kB / 0.6498 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.2424, allocations: 11.02 kB / 0.6498 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.2424, allocations: 15.84 kB / 0.6498 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.2424, allocations: 323.7 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.2425, allocations: 15.53 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.2425, allocations: 22.08 kB / 0.6502 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.2426, allocations: 34.02 kB / 0.6502 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2426, allocations: 1.156 kB / 0.6502 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000123/0.2428, allocations: 70.7 kB / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2428, allocations: 5.5 kB / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.2428, allocations: 3.938 kB / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2428, allocations: 1.688 kB / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.2428, allocations: 8.688 kB / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2428, allocations: 0.9688 kB / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.2429, allocations: 12.86 kB / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.2429, allocations: 1.484 kB / 0.6503 GB, free: 54.43 MB / 0.5573 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 5.058e-05/0.2429, allocations: 116.3 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.2429, allocations: 5.797 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.243, allocations: 9.328 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.243, allocations: 4.156 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.243, allocations: 1 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.243, allocations: 0.6094 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.2431, allocations: 149.8 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2431, allocations: 0 / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.2431, allocations: 11.27 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2431, allocations: 0 / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2431, allocations: 1.594 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2431, allocations: 1.156 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2431, allocations: 6.266 kB / 0.6506 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.2433, allocations: 170.8 kB / 0.6507 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.2433, allocations: 7.906 kB / 0.6508 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.2433, allocations: 3.031 kB / 0.6508 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.2434, allocations: 7.094 kB / 0.6508 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.2434, allocations: 1.969 kB / 0.6508 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2434, allocations: 1.75 kB / 0.6508 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.2434, allocations: 97.88 kB / 0.6509 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2434, allocations: 4 kB / 0.6509 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001405/0.2436, allocations: 5.188 kB / 0.6509 GB, free: 53.92 MB / 0.5573 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 0.0002511/0.2438, allocations: 0.7043 MB / 0.6516 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.244, allocations: 41.69 kB / 0.6516 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.244, allocations: 0.8125 kB / 0.6516 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.244, allocations: 16.66 kB / 0.6516 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.2442, allocations: 13.94 kB / 0.6516 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.2451, allocations: 1.358 MB / 0.653 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.2452, allocations: 69.14 kB / 0.653 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.2452, allocations: 8.391 kB / 0.653 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.2453, allocations: 19.72 kB / 0.653 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2453, allocations: 0 / 0.653 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.2591, allocations: 2.214 MB / 0.6552 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.353/6.612, allocations: 7 kB / 0.6552 GB, free: 51.21 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.223306357860565] Failed to read output from testmodel.py, exit status != 0: 6.687338327988982 6.695186872 6.453060231 Calling exit ...