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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008487/0.008487, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001956/0.001956, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002188/0.002188, allocations: 284.8 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9227/0.9227, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 99.83 kB / 0.6809 GB, free: 7.535 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3948, allocations: 86.96 MB / 0.7659 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002413/0.3972, allocations: 1.532 MB / 0.7674 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006821/0.3979, allocations: 444.7 kB / 0.7678 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.398, allocations: 4 kB / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.398, allocations: 3.938 kB / 0.7678 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.3981, allocations: 7.938 kB / 0.7678 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.3983, allocations: 19.92 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.3984, allocations: 51.83 kB / 0.7679 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3985, allocations: 15.98 kB / 0.7679 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3986, allocations: 27.86 kB / 0.7679 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.3986, allocations: 19.92 kB / 0.7679 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.3987, allocations: 4 kB / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-06/0.3987, allocations: 8 kB / 0.7679 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.3987, allocations: 11.92 kB / 0.768 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.3987, allocations: 23.86 kB / 0.768 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.302e-05/0.3988, allocations: 39.69 kB / 0.768 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3988, allocations: 0 / 0.768 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3988, allocations: 0 / 0.768 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3989, allocations: 0 / 0.768 GB, free: 1.715 MB / 0.5294 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.00046/0.3993, allocations: 364.5 kB / 0.7684 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3994, allocations: 16.03 kB / 0.7684 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.3994, allocations: 30.75 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.3994, allocations: 8.891 kB / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.791e-05/0.3995, allocations: 176.3 kB / 0.7686 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3996, allocations: 8.375 kB / 0.7686 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3996, allocations: 4.375 kB / 0.7686 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3998, allocations: 69.72 kB / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3998, allocations: 0 / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3998, allocations: 0 / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3998, allocations: 0 / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.4, allocations: 43.97 kB / 0.7687 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.4004, allocations: 300.7 kB / 0.769 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.4007, allocations: 62.53 kB / 0.769 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.272e-05/0.4009, allocations: 24.91 kB / 0.7691 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.4009, allocations: 3.938 kB / 0.7691 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.4009, allocations: 34.56 kB / 0.7691 GB, free: 436 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4009, allocations: 0 / 0.7691 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.00036/0.4013, allocations: 85.59 kB / 0.7692 GB, free: 344 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.4013, allocations: 55.41 kB / 0.7692 GB, free: 276 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.4014, allocations: 121.8 kB / 0.7694 GB, free: 144 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.4014, allocations: 25.7 kB / 0.7694 GB, free: 112 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.4015, allocations: 92.14 kB / 0.7695 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.4015, allocations: 7.906 kB / 0.7695 GB, free: 8 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.4015, allocations: 17.7 kB / 0.7695 GB, free: 15.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4016, allocations: 322.8 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.4017, allocations: 15.98 kB / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.4018, allocations: 19.98 kB / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.402, allocations: 40.77 kB / 0.7699 GB, free: 15.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.402, allocations: 0 / 0.7699 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002362/0.4023, allocations: 73.62 kB / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4023, allocations: 4 kB / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4023, allocations: 336 / 0.77 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4023, allocations: 0 / 0.77 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.4024, allocations: 15.98 kB / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4024, allocations: 0 / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.4025, allocations: 11.92 kB / 0.77 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4025, allocations: 3.938 kB / 0.77 GB, free: 15.47 MB / 0.545 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 6.757e-05/0.4026, allocations: 117.6 kB / 0.7701 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.4026, allocations: 7.922 kB / 0.7701 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.4026, allocations: 11.91 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4026, allocations: 0 / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4026, allocations: 4 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4026, allocations: 3.984 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.4028, allocations: 177.6 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4028, allocations: 4 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.4029, allocations: 11.92 kB / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4029, allocations: 0 / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.4029, allocations: 4 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4029, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4029, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.4032, allocations: 167.5 kB / 0.7705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.4032, allocations: 89.06 kB / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.4033, allocations: 0 / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.4033, allocations: 8 kB / 0.7706 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.4034, allocations: 3.984 kB / 0.7706 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.4034, allocations: 0 / 0.7706 GB, free: 14.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.4034, allocations: 103.1 kB / 0.7707 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4035, allocations: 4 kB / 0.7707 GB, free: 14.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002188/0.4037, allocations: 4 kB / 0.7707 GB, free: 14.67 MB / 0.545 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.0004521/0.4041, allocations: 0.7038 MB / 0.7714 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4044, allocations: 43.97 kB / 0.7714 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4044, allocations: 0 / 0.7714 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.4045, allocations: 19.92 kB / 0.7714 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.4048, allocations: 8 kB / 0.7714 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4061, allocations: 1.344 MB / 0.7727 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.4064, allocations: 0.6846 MB / 0.7734 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.4064, allocations: 4.25 kB / 0.7734 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.4064, allocations: 15.42 kB / 0.7734 GB, free: 11.72 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4065, allocations: 3.938 kB / 0.7734 GB, free: 11.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.4223, allocations: 1.529 MB / 0.7749 GB, free: 10.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.821, allocations: 8.562 kB / 0.7749 GB, free: 10.3 MB / 0.545 GB (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)