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.007851/0.007851, allocations: 98.06 kB / 15.73 MB, free: 6.004 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.002148/0.002148, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.549/1.549, 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.002545/0.002545, allocations: 290.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.2/1.2, allocations: 178.5 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 92.12 kB / 0.6943 GB, free: 15.27 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4234, allocations: 89.13 MB / 0.7813 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002242/0.4257, allocations: 1.527 MB / 0.7828 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000764/0.4265, allocations: 447.8 kB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.4266, allocations: 1.375 kB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.4266, allocations: 3.938 kB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.4267, allocations: 5.25 kB / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.4269, allocations: 20.23 kB / 0.7833 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.4271, allocations: 50.12 kB / 0.7833 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4272, allocations: 31.11 kB / 0.7833 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4273, allocations: 16.16 kB / 0.7833 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.4274, allocations: 24.94 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.4274, allocations: 4.125 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.4274, allocations: 4 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.4275, allocations: 9 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.4275, allocations: 24.78 kB / 0.7834 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.4276, allocations: 40.83 kB / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4276, allocations: 0 / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4277, allocations: 1.156 kB / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4277, allocations: 0 / 0.7834 GB, free: 15.47 MB / 0.5606 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.0006221/0.4283, allocations: 359.5 kB / 0.7838 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4283, allocations: 12.67 kB / 0.7838 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.4284, allocations: 40.09 kB / 0.7838 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.4284, allocations: 9.109 kB / 0.7838 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.4286, allocations: 174.6 kB / 0.784 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.4287, allocations: 2.406 kB / 0.784 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.4287, allocations: 6.469 kB / 0.784 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.4289, allocations: 71.55 kB / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4289, allocations: 0 / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4289, allocations: 0 / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4289, allocations: 5.406 kB / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.4291, allocations: 38.91 kB / 0.7841 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.4297, allocations: 302.8 kB / 0.7844 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.43, allocations: 62.88 kB / 0.7845 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.4301, allocations: 27.77 kB / 0.7845 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4302, allocations: 7.938 kB / 0.7845 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4302, allocations: 35.97 kB / 0.7846 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.4302, allocations: 0 / 0.7846 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004036/0.4306, allocations: 83.66 kB / 0.7846 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4307, allocations: 51.41 kB / 0.7847 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.4308, allocations: 122.2 kB / 0.7848 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4308, allocations: 29.7 kB / 0.7848 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.4309, allocations: 90.88 kB / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.4309, allocations: 9.641 kB / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.431, allocations: 16.42 kB / 0.7849 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4311, allocations: 320.1 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.4312, allocations: 17.39 kB / 0.7853 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.4313, allocations: 13.36 kB / 0.7853 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.4315, allocations: 48.7 kB / 0.7853 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4315, allocations: 0 / 0.7853 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002176/0.4317, allocations: 71.31 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4318, allocations: 5.406 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4318, allocations: 0 / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4318, allocations: 0 / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.4319, allocations: 11.05 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4319, allocations: 5.297 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.432, allocations: 10.42 kB / 0.7854 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.432, allocations: 5.219 kB / 0.7854 GB, free: 13.5 MB / 0.5606 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 8.405e-05/0.4321, allocations: 116.3 kB / 0.7855 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.4321, allocations: 6.641 kB / 0.7855 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.4321, allocations: 5.562 kB / 0.7855 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4321, allocations: 0 / 0.7855 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4321, allocations: 5.125 kB / 0.7855 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4322, allocations: 0 / 0.7855 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.4324, allocations: 183.1 kB / 0.7857 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4324, allocations: 1.5 kB / 0.7857 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.4324, allocations: 14.36 kB / 0.7857 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4324, allocations: 0 / 0.7857 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.4325, allocations: 1.094 kB / 0.7857 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.4325, allocations: 4 kB / 0.7857 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4325, allocations: 0 / 0.7857 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.4328, allocations: 169.5 kB / 0.7859 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.4328, allocations: 83.59 kB / 0.786 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.4328, allocations: 0 / 0.786 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.4329, allocations: 4.094 kB / 0.786 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.433, allocations: 9.703 kB / 0.786 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.433, allocations: 0 / 0.786 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.172e-05/0.433, allocations: 106 kB / 0.7861 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4331, allocations: 0 / 0.7861 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002096/0.4333, allocations: 6.375 kB / 0.7861 GB, free: 12.78 MB / 0.5606 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.0005887/0.4339, allocations: 0.7022 MB / 0.7868 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.4341, allocations: 39.19 kB / 0.7868 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4341, allocations: 0 / 0.7868 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4342, allocations: 24.95 kB / 0.7869 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.4345, allocations: 6.625 kB / 0.7869 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.4363, allocations: 1.34 MB / 0.7882 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4367, allocations: 0.6859 MB / 0.7888 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.4367, allocations: 6.594 kB / 0.7888 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.4368, allocations: 16.55 kB / 0.7889 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of SimCode: time 2.264e-06/0.4368, allocations: 1.125 kB / 0.7889 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.4594, allocations: 1.516 MB / 0.7903 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.196, allocations: 12.81 kB / 0.7904 GB, free: 9.25 MB / 0.5606 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)