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.0007017/0.0007017, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007076/0.0007076, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8395/0.8395, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.00149/0.00149, allocations: 240.1 kB / 259.4 MB, free: 13.02 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.6527/0.6527, allocations: 138.4 MB / 454.3 MB, free: 29.99 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.853e-06/1.853e-06, allocations: 0 / 0.6462 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.257e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002148/0.00217, allocations: 1.558 MB / 0.6478 GB, free: 344 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2376/0.2398, allocations: 469.4 kB / 0.6482 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.2398, allocations: 0 / 0.6482 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.2399, allocations: 4.875 kB / 0.6482 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.2399, allocations: 9.531 kB / 0.6482 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.2402, allocations: 40.3 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2403, allocations: 48.62 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2404, allocations: 13.14 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2406, allocations: 31.5 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.279e-05/0.2406, allocations: 18.56 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.2406, allocations: 7.812 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.648e-05/0.2406, allocations: 9.125 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.2407, allocations: 10.7 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.2407, allocations: 12.08 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2408, allocations: 53.03 kB / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2408, allocations: 1.594 kB / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2408, allocations: 0 / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2408, allocations: 0.7812 kB / 0.6485 GB, free: 55.82 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.0003729/0.2412, allocations: 293.2 kB / 0.6487 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2412, allocations: 13.11 kB / 0.6488 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.351e-05/0.2413, allocations: 37.81 kB / 0.6488 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.2414, allocations: 14.02 kB / 0.6488 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.2415, allocations: 119.6 kB / 0.6489 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2415, allocations: 2.938 kB / 0.6489 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2416, allocations: 4.938 kB / 0.6489 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.2417, allocations: 62.25 kB / 0.649 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2417, allocations: 1.438 kB / 0.649 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2417, allocations: 7.406 kB / 0.649 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2417, allocations: 5.781 kB / 0.649 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.2418, allocations: 41.89 kB / 0.649 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.2421, allocations: 261.6 kB / 0.6493 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2423, allocations: 64.78 kB / 0.6494 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.2424, allocations: 23.25 kB / 0.6494 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2424, allocations: 1.656 kB / 0.6494 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.2424, allocations: 33.19 kB / 0.6494 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.2424, allocations: 0.625 kB / 0.6494 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002316/0.2426, allocations: 92.42 kB / 0.6495 GB, free: 55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.2427, allocations: 52.97 kB / 0.6496 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.2427, allocations: 125.7 kB / 0.6497 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.53e-06/0.2427, allocations: 28.42 kB / 0.6497 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.2427, allocations: 89.56 kB / 0.6498 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.2428, allocations: 12.98 kB / 0.6498 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.2428, allocations: 14.09 kB / 0.6498 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.2428, allocations: 323.8 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.2429, allocations: 17.78 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.2429, allocations: 15.44 kB / 0.6502 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/0.243, allocations: 46.17 kB / 0.6502 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.243, allocations: 0 / 0.6502 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001128/0.2431, allocations: 66.69 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2431, allocations: 6.172 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2431, allocations: 0 / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2432, allocations: 0.9375 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.501e-05/0.2432, allocations: 13.97 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2432, allocations: 0 / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.2432, allocations: 10.59 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2432, allocations: 1.266 kB / 0.6503 GB, free: 54.34 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 4.233e-05/0.2433, allocations: 118.4 kB / 0.6504 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.2433, allocations: 2.875 kB / 0.6504 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.2433, allocations: 15.52 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2433, allocations: 0.9688 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2433, allocations: 0 / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2433, allocations: 1.328 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.2434, allocations: 144.9 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.2434, allocations: 4.75 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.2435, allocations: 14.12 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2435, allocations: 0.7969 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2435, allocations: 3.531 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2435, allocations: 0.6875 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2435, allocations: 0.8438 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2436, allocations: 166.3 kB / 0.6507 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.2436, allocations: 6.047 kB / 0.6507 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2437, allocations: 4.438 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.2437, allocations: 9.812 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.2437, allocations: 4.5 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.2437, allocations: 0.875 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.2438, allocations: 95.86 kB / 0.6509 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2438, allocations: 1.156 kB / 0.6509 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001448/0.2439, allocations: 9.375 kB / 0.6509 GB, free: 53.83 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.0002443/0.2442, allocations: 0.7029 MB / 0.6516 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.2443, allocations: 41.53 kB / 0.6516 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2443, allocations: 3.656 kB / 0.6516 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.2443, allocations: 25.97 kB / 0.6516 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2445, allocations: 1.688 kB / 0.6516 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.2454, allocations: 1.36 MB / 0.653 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.2455, allocations: 73.02 kB / 0.653 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.2455, allocations: 4.891 kB / 0.653 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.2456, allocations: 16.28 kB / 0.653 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.2456, allocations: 0.625 kB / 0.653 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.2596, allocations: 2.219 MB / 0.6552 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.394/6.654, allocations: 6.125 kB / 0.6552 GB, free: 51.12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.094661766663194] Failed to read output from testmodel.py, exit status != 0: 6.729522792622447 6.736964042 6.494393105 Calling exit ...